Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001299, allocations: 106.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7078/0.7078, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 65.31 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002781/0.1543, allocations: 1.568 MB / 0.6331 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1558, allocations: 0.9123 MB / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.1559, allocations: 0 / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.156, allocations: 3.938 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1562, allocations: 27.78 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1566, allocations: 143.5 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1568, allocations: 75.7 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.1569, allocations: 11.98 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.157, allocations: 31.86 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1571, allocations: 39.78 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1572, allocations: 4 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.1576, allocations: 295.6 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.1576, allocations: 11.94 kB / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.1576, allocations: 27.86 kB / 0.6347 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1579, allocations: 150.4 kB / 0.6348 GB, free: 1.602 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.1579, allocations: 0 / 0.6348 GB, free: 1.602 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1579, allocations: 3.984 kB / 0.6348 GB, free: 1.598 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1579, allocations: 0 / 0.6348 GB, free: 1.598 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005498/0.1585, allocations: 412 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1585, allocations: 8.031 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.1586, allocations: 38.69 kB / 0.6352 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1587, allocations: 12.83 kB / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1589, allocations: 188.2 kB / 0.6354 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1589, allocations: 4.375 kB / 0.6354 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1589, allocations: 4.312 kB / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1591, allocations: 65.78 kB / 0.6355 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1591, allocations: 4 kB / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1591, allocations: 8 kB / 0.6355 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1591, allocations: 3.984 kB / 0.6355 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1593, allocations: 39.97 kB / 0.6356 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1597, allocations: 296.7 kB / 0.6358 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1599, allocations: 54.5 kB / 0.6359 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.16, allocations: 32.97 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.16, allocations: 0 / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.16, allocations: 30.56 kB / 0.636 GB, free: 256 kB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.16, allocations: 0 / 0.636 GB, free: 256 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003684/0.1604, allocations: 109.5 kB / 0.6361 GB, free: 140 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1604, allocations: 59.34 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1606, allocations: 131.4 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1606, allocations: 25.7 kB / 0.6363 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1606, allocations: 96.12 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1607, allocations: 15.75 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1607, allocations: 17.72 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.1608, allocations: 326.8 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.1609, allocations: 23.98 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.161, allocations: 23.92 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1611, allocations: 52.83 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1611, allocations: 0 / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002173/0.1613, allocations: 93.94 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1614, allocations: 7.938 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1614, allocations: 4 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1614, allocations: 4.062 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1615, allocations: 15.98 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1615, allocations: 0 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.1616, allocations: 7.906 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1616, allocations: 4 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.1617, allocations: 117.8 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1617, allocations: 4 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.162, allocations: 105.9 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.162, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.162, allocations: 3.984 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.162, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1622, allocations: 197.5 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1622, allocations: 0 / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.1623, allocations: 11.98 kB / 0.6373 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1623, allocations: 4 kB / 0.6373 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1623, allocations: 0 / 0.6373 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1623, allocations: 4 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1623, allocations: 0 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1626, allocations: 187.4 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1626, allocations: 88.95 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1627, allocations: 0 / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.1627, allocations: 7.984 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1628, allocations: 15.94 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1628, allocations: 0 / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.1629, allocations: 96.98 kB / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1631, allocations: 27.98 kB / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005576/0.1637, allocations: 0.7359 MB / 0.6385 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1639, allocations: 55.91 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1639, allocations: 3.938 kB / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.164, allocations: 31.97 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1643, allocations: 8 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1657, allocations: 1.453 MB / 0.64 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.166, allocations: 0.6924 MB / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.166, allocations: 11.98 kB / 0.6407 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.1661, allocations: 15.44 kB / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1661, allocations: 0 / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.1841, allocations: 2.342 MB / 0.643 GB, free: 8.871 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.554, allocations: 6 kB / 0.643 GB, free: 8.867 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)