Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001357/0.001357, allocations: 193 kB / 16.26 MB, free: 6.621 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 282.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.5069 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 106.3 kB / 0.6059 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1605, allocations: 89.15 MB / 0.693 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003448/0.164, allocations: 2.074 MB / 0.695 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1666, allocations: 1.66 MB / 0.6966 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.1667, allocations: 4 kB / 0.6966 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.1668, allocations: 7.922 kB / 0.6966 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1669, allocations: 47.61 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.1678, allocations: 323.2 kB / 0.697 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.1681, allocations: 231.1 kB / 0.6972 GB, free: 344 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1682, allocations: 45.52 kB / 0.6973 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1683, allocations: 83.78 kB / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1685, allocations: 103.6 kB / 0.6974 GB, free: 112 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.1685, allocations: 16 kB / 0.6974 GB, free: 96 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008102/0.1694, allocations: 415.6 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1694, allocations: 47.77 kB / 0.6979 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1695, allocations: 87.66 kB / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.1702, allocations: 439.2 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1702, allocations: 0 / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1702, allocations: 0 / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1702, allocations: 0 / 0.6984 GB, free: 15.12 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.0009067/0.1711, allocations: 0.5342 MB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1712, allocations: 8.031 kB / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.1723, allocations: 132.6 kB / 0.699 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1725, allocations: 180.2 kB / 0.6992 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.1726, allocations: 54.25 kB / 0.6993 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1726, allocations: 12.38 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.1732, allocations: 222.2 kB / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1732, allocations: 7.875 kB / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.1733, allocations: 11.98 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1733, allocations: 11.98 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.1741, allocations: 231.9 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1756, allocations: 0.9662 MB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.1762, allocations: 178.6 kB / 0.7009 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.1765, allocations: 116.8 kB / 0.701 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007951/0.1773, allocations: 0.5142 MB / 0.7015 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.1774, allocations: 46.5 kB / 0.7015 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.1774, allocations: 0 / 0.7015 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001175/0.1786, allocations: 323.5 kB / 0.7018 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1786, allocations: 59.41 kB / 0.7019 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1788, allocations: 152.1 kB / 0.702 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1788, allocations: 29.7 kB / 0.7021 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.179, allocations: 120.1 kB / 0.7022 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.179, allocations: 59.27 kB / 0.7022 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.1791, allocations: 41.61 kB / 0.7023 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1793, allocations: 326.8 kB / 0.7026 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.1797, allocations: 103.9 kB / 0.7027 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.18, allocations: 129.7 kB / 0.7028 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.1807, allocations: 197.6 kB / 0.703 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1807, allocations: 0 / 0.703 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008295/0.1816, allocations: 269.3 kB / 0.7032 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1816, allocations: 13.59 kB / 0.7033 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1816, allocations: 0 / 0.7033 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1816, allocations: 0 / 0.7033 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.182, allocations: 51.89 kB / 0.7033 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.182, allocations: 7.938 kB / 0.7033 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.1823, allocations: 43.66 kB / 0.7034 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.1824, allocations: 4 kB / 0.7034 GB, free: 9.605 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.0001355/0.1825, allocations: 125.8 kB / 0.7035 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1826, allocations: 11.91 kB / 0.7035 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.1834, allocations: 269.8 kB / 0.7037 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1835, allocations: 3.938 kB / 0.7038 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1835, allocations: 0 / 0.7038 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1835, allocations: 0 / 0.7038 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.1854, allocations: 1.073 MB / 0.7048 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1855, allocations: 3.938 kB / 0.7048 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.1858, allocations: 39.97 kB / 0.7048 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1858, allocations: 64 / 0.7048 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1858, allocations: 8 kB / 0.7049 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1858, allocations: 3.938 kB / 0.7049 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1858, allocations: 0 / 0.7049 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.1867, allocations: 350 kB / 0.7052 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.1868, allocations: 100.9 kB / 0.7053 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.1868, allocations: 8 kB / 0.7053 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.1872, allocations: 23.97 kB / 0.7053 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1872, allocations: 7.984 kB / 0.7053 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.1872, allocations: 7.984 kB / 0.7053 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000103/0.1874, allocations: 121.1 kB / 0.7054 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.994e-06/0.1874, allocations: 4 kB / 0.7054 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005211/0.1879, allocations: 143.7 kB / 0.7056 GB, free: 7.113 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.0004808/0.1884, allocations: 223 kB / 0.7058 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008208/0.1892, allocations: 238.2 kB / 0.706 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1892, allocations: 0 / 0.706 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.1896, allocations: 120 kB / 0.7061 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1901, allocations: 43.84 kB / 0.7062 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.1923, allocations: 0.5237 MB / 0.7067 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1926, allocations: 0.7086 MB / 0.7074 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.1929, allocations: 39.66 kB / 0.7074 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.193, allocations: 27.42 kB / 0.7075 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.193, allocations: 0 / 0.7075 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.009416/0.2024, allocations: 4.53 MB / 0.7119 GB, free: 0.6719 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)