Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.731/2.731, allocations: 287.3 MB / 302.3 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 180.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 96.48 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 17.53 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.539, allocations: 412.6 MB / 1.381 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000419/1.54, allocations: 112.8 kB / 1.381 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.816/3.355, allocations: 362.1 MB / 1.735 GB, free: 49.14 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.046e-06/3.355, allocations: 0 / 1.735 GB, free: 49.14 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001306/3.356, allocations: 35.92 kB / 1.735 GB, free: 49.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004143/3.36, allocations: 1.651 MB / 1.737 GB, free: 47.36 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/3.36, allocations: 12.03 kB / 1.737 GB, free: 47.34 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003209/3.36, allocations: 106.5 kB / 1.737 GB, free: 47.23 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/3.361, allocations: 130.5 kB / 1.737 GB, free: 47.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/3.364, allocations: 1.179 MB / 1.738 GB, free: 45.88 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/3.364, allocations: 57.31 kB / 1.738 GB, free: 45.82 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/3.364, allocations: 64 kB / 1.738 GB, free: 45.76 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/3.366, allocations: 0.798 MB / 1.739 GB, free: 44.94 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/3.366, allocations: 0 / 1.739 GB, free: 44.94 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/3.366, allocations: 35.95 kB / 1.739 GB, free: 44.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/3.367, allocations: 16 kB / 1.739 GB, free: 44.89 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/3.368, allocations: 0.6102 MB / 1.74 GB, free: 44.28 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/3.374, allocations: 3.128 MB / 1.743 GB, free: 41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/3.375, allocations: 453.9 kB / 1.743 GB, free: 40.55 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008684/3.376, allocations: 0.7599 MB / 1.744 GB, free: 39.62 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/3.376, allocations: 38.84 kB / 1.744 GB, free: 39.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/3.376, allocations: 0 / 1.744 GB, free: 39.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.002682/3.379, allocations: 1.245 MB / 1.745 GB, free: 38.25 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/3.379, allocations: 136.8 kB / 1.745 GB, free: 38.09 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/3.381, allocations: 0.98 MB / 1.746 GB, free: 37.09 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/3.381, allocations: 37.7 kB / 1.746 GB, free: 37.05 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/3.382, allocations: 476.5 kB / 1.747 GB, free: 36.58 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/3.382, allocations: 126.2 kB / 1.747 GB, free: 36.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/3.382, allocations: 11.94 kB / 1.747 GB, free: 36.44 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/3.382, allocations: 326 kB / 1.747 GB, free: 36.12 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/3.383, allocations: 336.8 kB / 1.747 GB, free: 35.79 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008462/3.384, allocations: 452 kB / 1.748 GB, free: 35.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/3.385, allocations: 0.5258 MB / 1.748 GB, free: 34.74 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/3.385, allocations: 4 kB / 1.748 GB, free: 34.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002323/3.387, allocations: 1.072 MB / 1.749 GB, free: 33.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/3.387, allocations: 0.8896 MB / 1.75 GB, free: 32.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/3.387, allocations: 0 / 1.75 GB, free: 32.65 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/3.387, allocations: 4 kB / 1.75 GB, free: 32.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/3.388, allocations: 87.89 kB / 1.75 GB, free: 32.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/3.388, allocations: 8 kB / 1.75 GB, free: 32.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/3.389, allocations: 103.2 kB / 1.75 GB, free: 32.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/3.389, allocations: 31.94 kB / 1.75 GB, free: 32.42 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/3.389, allocations: 7.938 kB / 1.75 GB, free: 32.41 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002195/3.392, allocations: 1.08 MB / 1.752 GB, free: 31.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/3.392, allocations: 7.938 kB / 1.752 GB, free: 31.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/3.392, allocations: 4 kB / 1.752 GB, free: 31.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/3.392, allocations: 83.89 kB / 1.752 GB, free: 31.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/3.392, allocations: 7.938 kB / 1.752 GB, free: 31.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/3.394, allocations: 103.5 kB / 1.752 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/3.394, allocations: 24 kB / 1.752 GB, free: 31.06 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008162/3.395, allocations: 478.1 kB / 1.752 GB, free: 30.57 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/3.395, allocations: 106.7 kB / 1.752 GB, free: 30.46 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/3.397, allocations: 0.9102 MB / 1.753 GB, free: 29.52 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/3.397, allocations: 4 kB / 1.753 GB, free: 29.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/3.397, allocations: 0 / 1.753 GB, free: 29.52 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/3.399, allocations: 0.9874 MB / 1.754 GB, free: 28.45 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/3.403, allocations: 2.114 MB / 1.756 GB, free: 26.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/3.403, allocations: 0 / 1.756 GB, free: 26.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/3.404, allocations: 72.14 kB / 1.756 GB, free: 26.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/3.404, allocations: 4 kB / 1.756 GB, free: 26.14 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/3.404, allocations: 16 kB / 1.756 GB, free: 26.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/3.404, allocations: 4 kB / 1.756 GB, free: 26.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/3.404, allocations: 3.938 kB / 1.756 GB, free: 26.12 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/3.407, allocations: 1.525 MB / 1.758 GB, free: 24.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000763/3.408, allocations: 299.6 kB / 1.758 GB, free: 24.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/3.408, allocations: 15.94 kB / 1.758 GB, free: 24.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/3.409, allocations: 55.88 kB / 1.758 GB, free: 24.12 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/3.409, allocations: 47.89 kB / 1.758 GB, free: 24.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/3.409, allocations: 23.98 kB / 1.758 GB, free: 24.05 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001617/3.411, allocations: 0.7805 MB / 1.759 GB, free: 23.26 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.71e-07/3.411, allocations: 0 / 1.759 GB, free: 23.26 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00237/3.413, allocations: 0.5849 MB / 1.76 GB, free: 22.67 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004963/3.418, allocations: 3.259 MB / 1.763 GB, free: 19.32 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003202/3.422, allocations: 1.909 MB / 1.765 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.835e-05/3.422, allocations: 0 / 1.765 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/3.423, allocations: 0.5543 MB / 1.765 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/3.427, allocations: 0.5069 MB / 1.766 GB, free: 16.17 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/3.433, allocations: 3.97 MB / 1.77 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/3.433, allocations: 1.095 MB / 1.771 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001339/3.435, allocations: 205.5 kB / 1.771 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/3.436, allocations: 383.3 kB / 1.771 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/3.436, allocations: 0 / 1.771 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7866/4.222, allocations: 36.35 MB / 1.807 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/4.223, allocations: 258.3 kB / 1.807 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.069/8.291, allocations: 3.781 kB / 1.807 GB, free: 211.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)