Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4735/0.4735, allocations: 90.81 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 105 kB / 421.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.367e-05, allocations: 4 kB / 0.4897 GB, free: 5.219 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4917, allocations: 72.31 MB / 0.5603 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7878/1.28, allocations: 376.7 MB / 0.9282 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.28, allocations: 102.2 kB / 0.9283 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/2.829, allocations: 368.9 MB / 1.289 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/2.829, allocations: 4 kB / 1.289 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001001/2.829, allocations: 31.94 kB / 1.289 GB, free: 121.2 MB / 0.6042 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.002359/2.831, allocations: 1.427 MB / 1.29 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/2.832, allocations: 15.98 kB / 1.29 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/2.832, allocations: 106.5 kB / 1.29 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/2.832, allocations: 132.7 kB / 1.29 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/2.834, allocations: 1.175 MB / 1.291 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/2.834, allocations: 50 kB / 1.291 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/2.834, allocations: 71.28 kB / 1.291 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/2.835, allocations: 0.7778 MB / 1.292 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/2.835, allocations: 3.938 kB / 1.292 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/2.835, allocations: 28 kB / 1.292 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/2.835, allocations: 12 kB / 1.292 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/2.836, allocations: 0.5701 MB / 1.293 GB, free: 116.8 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.00331/2.839, allocations: 3.112 MB / 1.296 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/2.84, allocations: 434.6 kB / 1.296 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/2.84, allocations: 287.2 kB / 1.297 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/2.841, allocations: 0.7649 MB / 1.297 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/2.841, allocations: 38.84 kB / 1.297 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.815e-06/2.841, allocations: 0 / 1.297 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.0009263/2.842, allocations: 0.7137 MB / 1.298 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/2.842, allocations: 143.9 kB / 1.298 GB, free: 111 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/2.843, allocations: 0.972 MB / 1.299 GB, free: 110 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/2.843, allocations: 33.7 kB / 1.299 GB, free: 110 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/2.843, allocations: 476.6 kB / 1.3 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/2.843, allocations: 127.9 kB / 1.3 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/2.843, allocations: 8 kB / 1.3 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/2.844, allocations: 325.9 kB / 1.3 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/2.844, allocations: 323.7 kB / 1.3 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/2.844, allocations: 423 kB / 1.301 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/2.845, allocations: 0.5097 MB / 1.301 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.845, allocations: 4 kB / 1.301 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001098/2.846, allocations: 1.04 MB / 1.302 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/2.846, allocations: 0.8763 MB / 1.303 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/2.846, allocations: 7.141 kB / 1.303 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/2.846, allocations: 7.609 kB / 1.303 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/2.846, allocations: 87.88 kB / 1.303 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/2.847, allocations: 15.88 kB / 1.303 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/2.847, allocations: 101.6 kB / 1.303 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/2.847, allocations: 28.64 kB / 1.303 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/2.847, allocations: 6.078 kB / 1.303 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/2.848, allocations: 1.029 MB / 1.304 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/2.848, allocations: 4 kB / 1.304 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/2.848, allocations: 7.219 kB / 1.304 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/2.849, allocations: 91.88 kB / 1.304 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/2.849, allocations: 0 / 1.304 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/2.849, allocations: 98.2 kB / 1.305 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/2.849, allocations: 31.98 kB / 1.305 GB, free: 104.2 MB / 0.6042 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 () * 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.0001497/2.849, allocations: 230.8 kB / 1.305 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/2.849, allocations: 102.7 kB / 1.305 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/2.851, allocations: 0.8647 MB / 1.306 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/2.851, allocations: 15.2 kB / 1.306 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.851, allocations: 0 / 1.306 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007922/2.851, allocations: 0.9446 MB / 1.307 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/2.854, allocations: 2.057 MB / 1.309 GB, free: 99.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/2.854, allocations: 11.19 kB / 1.309 GB, free: 99.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/2.854, allocations: 63.97 kB / 1.309 GB, free: 99.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/2.854, allocations: 7.938 kB / 1.309 GB, free: 99.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/2.854, allocations: 15.98 kB / 1.309 GB, free: 99.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/2.854, allocations: 4 kB / 1.309 GB, free: 99.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/2.854, allocations: 0 / 1.309 GB, free: 99.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/2.855, allocations: 1.48 MB / 1.31 GB, free: 98.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/2.856, allocations: 299.6 kB / 1.311 GB, free: 97.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/2.856, allocations: 15.95 kB / 1.311 GB, free: 97.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/2.856, allocations: 42.22 kB / 1.311 GB, free: 97.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/2.857, allocations: 52.41 kB / 1.311 GB, free: 97.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/2.857, allocations: 20 kB / 1.311 GB, free: 97.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00085/2.857, allocations: 0.7659 MB / 1.311 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/2.857, allocations: 0 / 1.311 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001486/2.859, allocations: 0.5869 MB / 1.312 GB, free: 96.31 MB / 0.6042 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) * 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.002678/2.862, allocations: 3.195 MB / 1.315 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001581/2.863, allocations: 1.889 MB / 1.317 GB, free: 91.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.863, allocations: 0 / 1.317 GB, free: 91.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004677/2.864, allocations: 0.529 MB / 1.317 GB, free: 90.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/2.866, allocations: 0.5057 MB / 1.318 GB, free: 90.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/2.869, allocations: 1.801 MB / 1.32 GB, free: 88.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/2.87, allocations: 1.1 MB / 1.321 GB, free: 87.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001058/2.871, allocations: 311.6 kB / 1.321 GB, free: 86.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/2.871, allocations: 363.2 kB / 1.321 GB, free: 86.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/2.871, allocations: 0 / 1.321 GB, free: 86.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/2.923, allocations: 38.58 MB / 1.359 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/2.923, allocations: 216.4 kB / 1.359 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/6.141, allocations: 2.844 kB / 1.359 GB, free: 48.59 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)