Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001267/0.001267, allocations: 101.2 kB / 16.4 MB, free: 6.508 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.001252/0.001253, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.333/1.333, 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.7011/0.7011, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.3 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1423, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003435/0.1458, allocations: 2.108 MB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1475, allocations: 1.045 MB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1478, allocations: 3.938 kB / 0.6347 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.1479, allocations: 27.66 kB / 0.6347 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.1483, allocations: 83.28 kB / 0.6348 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.1488, allocations: 191.5 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1492, allocations: 294.8 kB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1494, allocations: 59.53 kB / 0.6353 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1496, allocations: 115.5 kB / 0.6354 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1498, allocations: 143.4 kB / 0.6356 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1499, allocations: 20 kB / 0.6356 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.1503, allocations: 295.6 kB / 0.6359 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.1504, allocations: 47.78 kB / 0.6359 GB, free: 480 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1505, allocations: 123.3 kB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.1509, allocations: 335.7 kB / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1509, allocations: 0 / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1509, allocations: 0 / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1509, allocations: 0 / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001126/0.1521, allocations: 0.6193 MB / 0.6369 GB, free: 15.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1521, allocations: 12.03 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.1522, allocations: 50.67 kB / 0.637 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.1524, allocations: 40.55 kB / 0.637 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1528, allocations: 279.6 kB / 0.6373 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1528, allocations: 20.59 kB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1529, allocations: 12.38 kB / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.1534, allocations: 232.7 kB / 0.6376 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1534, allocations: 4 kB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1535, allocations: 4 kB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1535, allocations: 7.938 kB / 0.6376 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.1541, allocations: 199.8 kB / 0.6378 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1553, allocations: 0.9306 MB / 0.6387 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/0.1561, allocations: 241.2 kB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.1565, allocations: 117.5 kB / 0.639 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1565, allocations: 8.297 kB / 0.639 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1565, allocations: 30.56 kB / 0.6391 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1565, allocations: 0 / 0.6391 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00116/0.1577, allocations: 333.6 kB / 0.6394 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.1578, allocations: 85.09 kB / 0.6395 GB, free: 12.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.158, allocations: 274.9 kB / 0.6397 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1581, allocations: 33.64 kB / 0.6397 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1582, allocations: 152.2 kB / 0.6399 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1582, allocations: 63.12 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.1583, allocations: 37.7 kB / 0.64 GB, free: 12.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1584, allocations: 338.8 kB / 0.6403 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.1588, allocations: 87.92 kB / 0.6404 GB, free: 11.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.1592, allocations: 154.9 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.1598, allocations: 233.8 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1598, allocations: 0 / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008274/0.1607, allocations: 297 kB / 0.641 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1607, allocations: 4 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1607, allocations: 4 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1607, allocations: 4 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.161, allocations: 59.89 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.161, allocations: 8 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.1613, allocations: 47.83 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1613, allocations: 11.98 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001139/0.1614, allocations: 130.4 kB / 0.6413 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1615, allocations: 27.66 kB / 0.6413 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008215/0.1624, allocations: 291.2 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1624, allocations: 4 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1624, allocations: 0 / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1624, allocations: 0 / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1628, allocations: 305.3 kB / 0.6419 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1628, allocations: 4 kB / 0.6419 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.1631, allocations: 51.95 kB / 0.642 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1631, allocations: 4 kB / 0.642 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1631, allocations: 0 / 0.642 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1631, allocations: 0 / 0.642 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.1631, allocations: 7.938 kB / 0.642 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.164, allocations: 438.3 kB / 0.6424 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.1641, allocations: 104.7 kB / 0.6425 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1641, allocations: 0 / 0.6425 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.1644, allocations: 35.95 kB / 0.6425 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.1644, allocations: 15.98 kB / 0.6425 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1645, allocations: 8 kB / 0.6425 GB, free: 9.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1646, allocations: 186 kB / 0.6427 GB, free: 9.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.1647, allocations: 0 / 0.6427 GB, free: 9.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.165, allocations: 59.94 kB / 0.6428 GB, free: 8.984 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001252/0.1663, allocations: 0.9944 MB / 0.6438 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.1671, allocations: 223.7 kB / 0.644 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1671, allocations: 4.312 kB / 0.644 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.1675, allocations: 120.3 kB / 0.6441 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.168, allocations: 82.61 kB / 0.6442 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.172, allocations: 2.696 MB / 0.6468 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1724, allocations: 0.748 MB / 0.6475 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.1725, allocations: 38.27 kB / 0.6476 GB, free: 3.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1727, allocations: 91.41 kB / 0.6476 GB, free: 3.812 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1727, allocations: 0 / 0.6476 GB, free: 3.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.198, allocations: 6.679 MB / 0.6542 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.08, allocations: 6.641 kB / 0.6542 GB, free: 13.3 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)