Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8112/0.8112, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 187.6 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.1 MB / 447.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009408, allocations: 96.27 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002005, allocations: 267.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 13.91 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1896, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8524/1.042, allocations: 383.9 MB / 1.149 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.042, allocations: 110.8 kB / 1.149 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.573/2.615, allocations: 369 MB / 1.509 GB, free: 165.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.687e-06/2.615, allocations: 0 / 1.509 GB, free: 165.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001946/2.615, allocations: 30.36 kB / 1.509 GB, free: 165.7 MB / 0.7136 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.004646/2.62, allocations: 1.64 MB / 1.511 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/2.62, allocations: 10 kB / 1.511 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003664/2.621, allocations: 107.7 kB / 1.511 GB, free: 164.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/2.621, allocations: 132.9 kB / 1.511 GB, free: 164.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/2.624, allocations: 1.18 MB / 1.512 GB, free: 164.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/2.624, allocations: 50.41 kB / 1.512 GB, free: 164.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/2.624, allocations: 81.28 kB / 1.512 GB, free: 164.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/2.625, allocations: 0.7891 MB / 1.513 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/2.625, allocations: 3.562 kB / 1.513 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/2.625, allocations: 28.19 kB / 1.513 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/2.625, allocations: 18.06 kB / 1.513 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/2.626, allocations: 0.6076 MB / 1.514 GB, free: 164.3 MB / 0.7136 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.004558/2.631, allocations: 3.125 MB / 1.517 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/2.632, allocations: 454.7 kB / 1.517 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009461/2.633, allocations: 0.7665 MB / 1.518 GB, free: 162.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/2.633, allocations: 38.22 kB / 1.518 GB, free: 162.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/2.633, allocations: 3.938 kB / 1.518 GB, free: 162.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.002064/2.635, allocations: 1.234 MB / 1.519 GB, free: 161.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/2.635, allocations: 148 kB / 1.519 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/2.637, allocations: 0.9774 MB / 1.52 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/2.637, allocations: 40.36 kB / 1.52 GB, free: 161.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/2.637, allocations: 477.8 kB / 1.521 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/2.637, allocations: 136.7 kB / 1.521 GB, free: 161.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/2.637, allocations: 7.562 kB / 1.521 GB, free: 161.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000146/2.637, allocations: 324.2 kB / 1.521 GB, free: 161 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/2.638, allocations: 333.8 kB / 1.522 GB, free: 161 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/2.639, allocations: 453.7 kB / 1.522 GB, free: 160.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/2.639, allocations: 0.5281 MB / 1.523 GB, free: 160.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/2.639, allocations: 0 / 1.523 GB, free: 160.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001625/2.641, allocations: 1.077 MB / 1.524 GB, free: 160.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004516/2.641, allocations: 0.8849 MB / 1.524 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/2.641, allocations: 0 / 1.524 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/2.641, allocations: 7.562 kB / 1.524 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/2.642, allocations: 95.5 kB / 1.525 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/2.642, allocations: 3.938 kB / 1.525 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/2.643, allocations: 105.1 kB / 1.525 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/2.643, allocations: 27.72 kB / 1.525 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/2.643, allocations: 3.312 kB / 1.525 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/2.644, allocations: 1.072 MB / 1.526 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/2.644, allocations: 3.688 kB / 1.526 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/2.644, allocations: 3.688 kB / 1.526 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/2.645, allocations: 95.81 kB / 1.526 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/2.645, allocations: 3.375 kB / 1.526 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/2.645, allocations: 84.25 kB / 1.526 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/2.645, allocations: 37.78 kB / 1.526 GB, free: 159.3 MB / 0.7136 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.0006815/2.646, allocations: 481 kB / 1.526 GB, free: 159 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/2.646, allocations: 107.2 kB / 1.526 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/2.647, allocations: 0.9083 MB / 1.527 GB, free: 158.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/2.647, allocations: 7.594 kB / 1.527 GB, free: 158.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/2.647, allocations: 2.562 kB / 1.527 GB, free: 158.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009923/2.648, allocations: 0.9827 MB / 1.528 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/2.651, allocations: 2.109 MB / 1.53 GB, free: 157.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.651, allocations: 3.906 kB / 1.53 GB, free: 157.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/2.652, allocations: 70.88 kB / 1.53 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/2.652, allocations: 5.984 kB / 1.53 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/2.652, allocations: 22 kB / 1.531 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/2.652, allocations: 3.109 kB / 1.531 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.652, allocations: 7.359 kB / 1.531 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/2.653, allocations: 1.529 MB / 1.532 GB, free: 157.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/2.654, allocations: 295.7 kB / 1.532 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/2.654, allocations: 14.16 kB / 1.532 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/2.654, allocations: 53.75 kB / 1.532 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/2.655, allocations: 44.77 kB / 1.532 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/2.655, allocations: 21.44 kB / 1.532 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009875/2.656, allocations: 0.7854 MB / 1.533 GB, free: 157 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/2.656, allocations: 0 / 1.533 GB, free: 157 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001816/2.658, allocations: 0.5854 MB / 1.534 GB, free: 156.9 MB / 0.7136 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.003543/2.661, allocations: 3.268 MB / 1.537 GB, free: 155.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002108/2.663, allocations: 1.922 MB / 1.539 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.663, allocations: 0 / 1.539 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/2.664, allocations: 0.5492 MB / 1.539 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/2.666, allocations: 0.4973 MB / 1.54 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/2.67, allocations: 3.973 MB / 1.544 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/2.671, allocations: 1.096 MB / 1.545 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008016/2.672, allocations: 216 kB / 1.545 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/2.672, allocations: 380.7 kB / 1.545 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.834e-06/2.672, allocations: 0 / 1.545 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/2.739, allocations: 36.41 MB / 1.581 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.739, allocations: 259.3 kB / 1.581 GB, free: 144.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/5.963, allocations: 2.062 kB / 1.581 GB, free: 144.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)