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.001151/0.001151, allocations: 100.2 kB / 16.4 MB, free: 6.461 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.00124/0.00124, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 70.45 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1575, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003525/0.161, allocations: 2.004 MB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1636, allocations: 1.671 MB / 0.6352 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1638, allocations: 4 kB / 0.6352 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.164, allocations: 15.84 kB / 0.6352 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1641, allocations: 55.5 kB / 0.6352 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1653, allocations: 350.8 kB / 0.6356 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1656, allocations: 235 kB / 0.6358 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1658, allocations: 61.45 kB / 0.6359 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1659, allocations: 79.83 kB / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1661, allocations: 95.61 kB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1661, allocations: 20 kB / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007901/0.1669, allocations: 411.5 kB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.167, allocations: 43.84 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.1671, allocations: 91.66 kB / 0.6366 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1677, allocations: 438.6 kB / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1677, allocations: 0 / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1677, allocations: 0 / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1677, allocations: 0 / 0.637 GB, free: 15.37 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008356/0.1685, allocations: 0.5303 MB / 0.6375 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1686, allocations: 8.031 kB / 0.6375 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.1686, allocations: 54.73 kB / 0.6376 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.1697, allocations: 140.6 kB / 0.6377 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1699, allocations: 176.2 kB / 0.6379 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.17, allocations: 50.25 kB / 0.6379 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.17, allocations: 16.38 kB / 0.6379 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.1706, allocations: 225.5 kB / 0.6381 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1706, allocations: 0 / 0.6381 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1706, allocations: 8 kB / 0.6382 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1706, allocations: 4 kB / 0.6382 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.1714, allocations: 227.9 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1728, allocations: 0.9701 MB / 0.6393 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1733, allocations: 174.6 kB / 0.6395 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.1736, allocations: 116.8 kB / 0.6396 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.1743, allocations: 0.522 MB / 0.6401 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1743, allocations: 38.56 kB / 0.6401 GB, free: 11.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1743, allocations: 0 / 0.6401 GB, free: 11.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001139/0.1755, allocations: 335.7 kB / 0.6405 GB, free: 11.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1755, allocations: 55.41 kB / 0.6405 GB, free: 11.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1757, allocations: 153.3 kB / 0.6407 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1757, allocations: 33.69 kB / 0.6407 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.1758, allocations: 120.1 kB / 0.6408 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.1758, allocations: 51.3 kB / 0.6409 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.1759, allocations: 45.61 kB / 0.6409 GB, free: 10.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.176, allocations: 326.8 kB / 0.6412 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1764, allocations: 99.94 kB / 0.6413 GB, free: 10.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.1767, allocations: 125.6 kB / 0.6414 GB, free: 10.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.1774, allocations: 200.2 kB / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1774, allocations: 0 / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007816/0.1782, allocations: 266.6 kB / 0.6419 GB, free: 9.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1782, allocations: 4 kB / 0.6419 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1783, allocations: 0 / 0.6419 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1783, allocations: 3.938 kB / 0.6419 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1786, allocations: 55.89 kB / 0.6419 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1787, allocations: 4 kB / 0.6419 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.179, allocations: 39.66 kB / 0.642 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.179, allocations: 11.98 kB / 0.642 GB, free: 9.801 MB / 494.1 MB 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.0001217/0.1791, allocations: 125.8 kB / 0.6421 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.1792, allocations: 15.91 kB / 0.6421 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.18, allocations: 258.7 kB / 0.6424 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.18, allocations: 3.938 kB / 0.6424 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.18, allocations: 0 / 0.6424 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.18, allocations: 3.984 kB / 0.6424 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.1818, allocations: 1.085 MB / 0.6434 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1819, allocations: 7.938 kB / 0.6434 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.1822, allocations: 40.03 kB / 0.6435 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1822, allocations: 0 / 0.6435 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1822, allocations: 8 kB / 0.6435 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1822, allocations: 3.984 kB / 0.6435 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1822, allocations: 4 kB / 0.6435 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.183, allocations: 355.6 kB / 0.6438 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1831, allocations: 85.02 kB / 0.6439 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.1831, allocations: 4 kB / 0.6439 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.1834, allocations: 27.97 kB / 0.644 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1835, allocations: 11.98 kB / 0.644 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.1835, allocations: 15.98 kB / 0.644 GB, free: 7.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.734e-05/0.1836, allocations: 121.2 kB / 0.6441 GB, free: 7.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1836, allocations: 0 / 0.6441 GB, free: 7.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.1841, allocations: 135.8 kB / 0.6442 GB, free: 7.305 MB / 494.1 MB 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.001452/0.1856, allocations: 1.003 MB / 0.6452 GB, free: 6.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.1864, allocations: 231.8 kB / 0.6454 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1864, allocations: 0 / 0.6454 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.1867, allocations: 114.6 kB / 0.6455 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1871, allocations: 55.83 kB / 0.6456 GB, free: 5.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.192, allocations: 2.347 MB / 0.6479 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1922, allocations: 0.7162 MB / 0.6486 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.1924, allocations: 25.77 kB / 0.6486 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1926, allocations: 51.36 kB / 0.6487 GB, free: 2.621 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1926, allocations: 0 / 0.6487 GB, free: 2.621 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.217, allocations: 6.417 MB / 0.6549 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.88, allocations: 8 kB / 0.6549 GB, free: 12.34 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)