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.0008582/0.0008581, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 179.5 kB / 16.92 MB, free: 6.637 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.229/1.229, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6461/0.6461, allocations: 115.5 MB / 407.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001424/0.1227, allocations: 1.284 MB / 0.5613 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.124, allocations: 0.9088 MB / 0.5622 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.1241, allocations: 4 kB / 0.5622 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.1241, allocations: 7.922 kB / 0.5622 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1242, allocations: 23.84 kB / 0.5622 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1245, allocations: 99.7 kB / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1246, allocations: 63.78 kB / 0.5624 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.1247, allocations: 19.97 kB / 0.5624 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.1248, allocations: 31.8 kB / 0.5624 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1249, allocations: 31.84 kB / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1249, allocations: 4 kB / 0.5625 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.1253, allocations: 279.6 kB / 0.5627 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.1253, allocations: 15.97 kB / 0.5627 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1253, allocations: 49.52 kB / 0.5628 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1255, allocations: 151.9 kB / 0.5629 GB, free: 5.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1255, allocations: 0 / 0.5629 GB, free: 5.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1256, allocations: 0 / 0.5629 GB, free: 5.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1256, allocations: 0 / 0.5629 GB, free: 5.973 MB / 430.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.0004273/0.126, allocations: 395.3 kB / 0.5633 GB, free: 5.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.126, allocations: 19.95 kB / 0.5633 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.1261, allocations: 34.75 kB / 0.5634 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.1262, allocations: 16.84 kB / 0.5634 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1263, allocations: 184.1 kB / 0.5636 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1263, allocations: 8.375 kB / 0.5636 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1263, allocations: 384 / 0.5636 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1265, allocations: 73.77 kB / 0.5636 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1265, allocations: 4 kB / 0.5636 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1266, allocations: 0 / 0.5636 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1266, allocations: 4 kB / 0.5636 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.1267, allocations: 51.91 kB / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.1271, allocations: 304.8 kB / 0.564 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1272, allocations: 50.56 kB / 0.564 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.1273, allocations: 36.95 kB / 0.5641 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1273, allocations: 4 kB / 0.5641 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1274, allocations: 34.56 kB / 0.5641 GB, free: 4.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1274, allocations: 0 / 0.5641 GB, free: 4.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003352/0.1277, allocations: 117.5 kB / 0.5642 GB, free: 4.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.1278, allocations: 51.41 kB / 0.5643 GB, free: 4.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.1278, allocations: 136.2 kB / 0.5644 GB, free: 4.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1279, allocations: 29.7 kB / 0.5644 GB, free: 4.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.1279, allocations: 96.03 kB / 0.5645 GB, free: 4.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1279, allocations: 19.75 kB / 0.5645 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.128, allocations: 9.719 kB / 0.5645 GB, free: 4.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.1281, allocations: 326.8 kB / 0.5649 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.1281, allocations: 27.98 kB / 0.5649 GB, free: 3.758 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.1282, allocations: 23.98 kB / 0.5649 GB, free: 3.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1284, allocations: 64.83 kB / 0.565 GB, free: 3.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1284, allocations: 0 / 0.565 GB, free: 3.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002102/0.1286, allocations: 105.9 kB / 0.5651 GB, free: 3.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1286, allocations: 4 kB / 0.5651 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1286, allocations: 0 / 0.5651 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.1286, allocations: 0 / 0.5651 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1287, allocations: 15.98 kB / 0.5651 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1288, allocations: 7.984 kB / 0.5651 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.1288, allocations: 12 kB / 0.5651 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1288, allocations: 3.938 kB / 0.5651 GB, free: 3.516 MB / 430.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.038e-05/0.1289, allocations: 121.8 kB / 0.5652 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.129, allocations: 7.906 kB / 0.5652 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.1292, allocations: 109.9 kB / 0.5653 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1292, allocations: 0 / 0.5653 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1292, allocations: 4 kB / 0.5653 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1292, allocations: 3.984 kB / 0.5653 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1294, allocations: 189.6 kB / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1294, allocations: 0 / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.1295, allocations: 15.98 kB / 0.5655 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1295, allocations: 0 / 0.5655 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1295, allocations: 4 kB / 0.5655 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1295, allocations: 4 kB / 0.5655 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1295, allocations: 0 / 0.5655 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1297, allocations: 199.3 kB / 0.5657 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.1298, allocations: 85.02 kB / 0.5658 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1298, allocations: 7.938 kB / 0.5658 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.1299, allocations: 4 kB / 0.5658 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1299, allocations: 11.98 kB / 0.5658 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.1299, allocations: 0 / 0.5658 GB, free: 2.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.754e-05/0.13, allocations: 97.61 kB / 0.5659 GB, free: 2.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.13, allocations: 0 / 0.5659 GB, free: 2.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1302, allocations: 27.98 kB / 0.566 GB, free: 2.543 MB / 430.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.0005178/0.1308, allocations: 0.7437 MB / 0.5667 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.131, allocations: 67.91 kB / 0.5668 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.131, allocations: 0 / 0.5668 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.1311, allocations: 31.97 kB / 0.5668 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1313, allocations: 13.55 kB / 0.5668 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1327, allocations: 1.508 MB / 0.5683 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1329, allocations: 0.6887 MB / 0.5689 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.133, allocations: 8 kB / 0.5689 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.133, allocations: 19.42 kB / 0.569 GB, free: 15.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.133, allocations: 4 kB / 0.569 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.247/4.38, allocations: 2.024 MB / 0.5709 GB, free: 13.49 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/4.381, allocations: 207.8 kB / 0.5711 GB, free: 13.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/6.248, allocations: 3.938 kB / 0.5712 GB, free: 13.23 MB / 446.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)