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.00155/0.00155, allocations: 107 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.001724/0.001724, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.31 kB / 0.5726 GB, free: 27.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1281, allocations: 78.7 MB / 0.6495 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002778/0.131, allocations: 1.557 MB / 0.651 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1323, allocations: 0.9099 MB / 0.6519 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.1324, allocations: 0 / 0.6519 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.1325, allocations: 7.922 kB / 0.6519 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1327, allocations: 23.78 kB / 0.6519 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.133, allocations: 157.3 kB / 0.652 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1331, allocations: 71.66 kB / 0.6521 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.1332, allocations: 15.98 kB / 0.6521 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.1333, allocations: 31.89 kB / 0.6522 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1335, allocations: 35.86 kB / 0.6522 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1335, allocations: 11.94 kB / 0.6522 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.1338, allocations: 283.6 kB / 0.6525 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1339, allocations: 19.92 kB / 0.6525 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1339, allocations: 27.86 kB / 0.6525 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.1341, allocations: 151.6 kB / 0.6527 GB, free: 1.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1341, allocations: 0 / 0.6527 GB, free: 1.305 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1342, allocations: 0 / 0.6527 GB, free: 1.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1342, allocations: 0 / 0.6527 GB, free: 1.305 MB / 494.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.0005242/0.1347, allocations: 422.8 kB / 0.6531 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1347, allocations: 12.03 kB / 0.6531 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.1348, allocations: 34.75 kB / 0.6531 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1349, allocations: 16.89 kB / 0.6531 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1351, allocations: 188.2 kB / 0.6533 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1351, allocations: 4.125 kB / 0.6533 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1351, allocations: 4 kB / 0.6533 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1353, allocations: 57.67 kB / 0.6534 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1353, allocations: 7.938 kB / 0.6534 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1353, allocations: 0 / 0.6534 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1353, allocations: 0 / 0.6534 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1355, allocations: 47.95 kB / 0.6534 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1359, allocations: 296.8 kB / 0.6537 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.136, allocations: 58.55 kB / 0.6538 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/0.1361, allocations: 29.12 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1362, allocations: 3.938 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1362, allocations: 30.56 kB / 0.6538 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1362, allocations: 0 / 0.6538 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003548/0.1366, allocations: 113.6 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1366, allocations: 51.41 kB / 0.654 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1367, allocations: 139.6 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1367, allocations: 25.7 kB / 0.6541 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.1368, allocations: 92.14 kB / 0.6542 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1368, allocations: 15.84 kB / 0.6542 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1369, allocations: 25.7 kB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.137, allocations: 318.8 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.1371, allocations: 23.98 kB / 0.6546 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1372, allocations: 27.92 kB / 0.6546 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1373, allocations: 48.83 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1373, allocations: 0 / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002044/0.1375, allocations: 89.62 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1376, allocations: 8 kB / 0.6548 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1376, allocations: 7.984 kB / 0.6548 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1376, allocations: 0 / 0.6548 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1377, allocations: 16.38 kB / 0.6548 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1377, allocations: 7.922 kB / 0.6548 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.1378, allocations: 11.89 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1378, allocations: 0 / 0.6548 GB, free: 14.88 MB / 0.4981 GB 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 8.736e-05/0.1379, allocations: 113.8 kB / 0.6549 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1379, allocations: 8 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1382, allocations: 105.9 kB / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1382, allocations: 3.984 kB / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1382, allocations: 4 kB / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1382, allocations: 3.938 kB / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1384, allocations: 177.6 kB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1384, allocations: 0 / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.1385, allocations: 19.92 kB / 0.6552 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1385, allocations: 0 / 0.6552 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1385, allocations: 7.984 kB / 0.6552 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1385, allocations: 0 / 0.6552 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1385, allocations: 0 / 0.6552 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1388, allocations: 187.4 kB / 0.6554 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.1388, allocations: 85.05 kB / 0.6555 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1389, allocations: 0 / 0.6555 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.139, allocations: 4 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.139, allocations: 19.92 kB / 0.6555 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.139, allocations: 3.938 kB / 0.6555 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.1391, allocations: 96.52 kB / 0.6556 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1391, allocations: 4 kB / 0.6556 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.1393, allocations: 23.94 kB / 0.6556 GB, free: 13.93 MB / 0.4981 GB 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.0005833/0.1399, allocations: 0.7436 MB / 0.6564 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1401, allocations: 56.16 kB / 0.6564 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1402, allocations: 0 / 0.6564 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.1402, allocations: 31.92 kB / 0.6564 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1405, allocations: 17.95 kB / 0.6565 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.142, allocations: 1.452 MB / 0.6579 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1422, allocations: 0.6885 MB / 0.6586 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.1422, allocations: 8 kB / 0.6586 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1423, allocations: 27.36 kB / 0.6586 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1423, allocations: 0 / 0.6586 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.1592, allocations: 2.316 MB / 0.6608 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.275, allocations: 6.344 kB / 0.6609 GB, free: 8.582 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)