Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.001289/0.001289, allocations: 103.5 kB / 16.4 MB, free: 6.457 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.001301/0.001301, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8075/0.8075, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 69.16 kB / 0.5735 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1558, allocations: 78.86 MB / 0.6505 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003144/0.159, allocations: 2.006 MB / 0.6525 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1616, allocations: 1.675 MB / 0.6541 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.1617, allocations: 7.938 kB / 0.6541 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.059e-05/0.1618, allocations: 15.8 kB / 0.6542 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1619, allocations: 51.55 kB / 0.6542 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.1629, allocations: 362.8 kB / 0.6546 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1631, allocations: 223.1 kB / 0.6548 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1633, allocations: 61.48 kB / 0.6548 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.1634, allocations: 87.66 kB / 0.6549 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1636, allocations: 95.66 kB / 0.655 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.1637, allocations: 20 kB / 0.655 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.1644, allocations: 415.5 kB / 0.6554 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.1645, allocations: 47.89 kB / 0.6555 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.1646, allocations: 83.66 kB / 0.6555 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.1652, allocations: 438.8 kB / 0.656 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1652, allocations: 0 / 0.656 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.297e-06/0.1652, allocations: 3.984 kB / 0.656 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.1653, allocations: 0 / 0.656 GB, free: 13.99 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000899/0.1662, allocations: 0.5257 MB / 0.6565 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1662, allocations: 8.031 kB / 0.6565 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.1663, allocations: 54.73 kB / 0.6565 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.1674, allocations: 140.7 kB / 0.6567 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1676, allocations: 180.2 kB / 0.6568 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.1677, allocations: 46.25 kB / 0.6569 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1677, allocations: 23.94 kB / 0.6569 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.1683, allocations: 225.8 kB / 0.6571 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1684, allocations: 0 / 0.6571 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1684, allocations: 8 kB / 0.6571 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1684, allocations: 4 kB / 0.6571 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.1692, allocations: 231.6 kB / 0.6574 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1708, allocations: 0.97 MB / 0.6583 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.1713, allocations: 185.1 kB / 0.6585 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.1717, allocations: 112.8 kB / 0.6586 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/0.1724, allocations: 0.5142 MB / 0.6591 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1725, allocations: 38.56 kB / 0.6591 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.1725, allocations: 0 / 0.6591 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001164/0.1736, allocations: 329.7 kB / 0.6594 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1737, allocations: 59.39 kB / 0.6595 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1739, allocations: 161.5 kB / 0.6597 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1739, allocations: 29.7 kB / 0.6597 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.174, allocations: 124.3 kB / 0.6598 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.1741, allocations: 55.53 kB / 0.6599 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.1742, allocations: 41.66 kB / 0.6599 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1743, allocations: 326.8 kB / 0.6602 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1747, allocations: 103.9 kB / 0.6603 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.1751, allocations: 126.6 kB / 0.6604 GB, free: 9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.1758, allocations: 199.6 kB / 0.6606 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1758, allocations: 0 / 0.6606 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008041/0.1766, allocations: 266.2 kB / 0.6609 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1766, allocations: 9.656 kB / 0.6609 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1767, allocations: 4.031 kB / 0.6609 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1767, allocations: 4 kB / 0.6609 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.1771, allocations: 55.83 kB / 0.6609 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1771, allocations: 4 kB / 0.6609 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1774, allocations: 43.81 kB / 0.661 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1774, allocations: 7.984 kB / 0.661 GB, free: 8.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001324/0.1775, allocations: 125.8 kB / 0.6611 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.1776, allocations: 19.84 kB / 0.6611 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.1784, allocations: 266.7 kB / 0.6614 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1785, allocations: 0 / 0.6614 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1785, allocations: 0 / 0.6614 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1785, allocations: 11.97 kB / 0.6614 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1805, allocations: 1.075 MB / 0.6624 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1805, allocations: 0 / 0.6624 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.1809, allocations: 35.97 kB / 0.6625 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1809, allocations: 4 kB / 0.6625 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1809, allocations: 4 kB / 0.6625 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1809, allocations: 8.062 kB / 0.6625 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1809, allocations: 3.984 kB / 0.6625 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.1817, allocations: 343 kB / 0.6628 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.1818, allocations: 92.95 kB / 0.6629 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1819, allocations: 4 kB / 0.6629 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.1822, allocations: 27.97 kB / 0.6629 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1822, allocations: 11.98 kB / 0.663 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1822, allocations: 11.98 kB / 0.663 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.932e-05/0.1823, allocations: 117.1 kB / 0.6631 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1824, allocations: 4 kB / 0.6631 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004706/0.1828, allocations: 131.6 kB / 0.6632 GB, free: 5.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001607/0.1844, allocations: 1.002 MB / 0.6642 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008561/0.1853, allocations: 240.7 kB / 0.6644 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1853, allocations: 4.062 kB / 0.6644 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.1857, allocations: 113.1 kB / 0.6645 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1862, allocations: 47.98 kB / 0.6646 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.1914, allocations: 2.369 MB / 0.6669 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1918, allocations: 0.7125 MB / 0.6676 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000183/0.192, allocations: 33.7 kB / 0.6676 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1921, allocations: 43.42 kB / 0.6677 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.1921, allocations: 3.938 kB / 0.6677 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.2203, allocations: 6.344 MB / 0.6739 GB, free: 11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.031, allocations: 2.031 kB / 0.6739 GB, free: 11 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)