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.001378/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001646/0.001647, allocations: 193.9 kB / 16.14 MB, free: 6.707 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.295/1.295, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 275 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 92.22 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1532, allocations: 86.98 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002879/0.1561, allocations: 2.075 MB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1583, allocations: 1.747 MB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.1584, allocations: 0 / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.568e-05/0.1584, allocations: 15.91 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.1585, allocations: 43.61 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.1592, allocations: 293.7 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1594, allocations: 223.1 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1595, allocations: 37.81 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.1596, allocations: 83.66 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1597, allocations: 99.64 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1598, allocations: 12 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.1604, allocations: 387.5 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.1605, allocations: 35.89 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.1606, allocations: 87.66 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.1611, allocations: 430.9 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1611, allocations: 0 / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1611, allocations: 4 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1611, allocations: 0 / 0.6848 GB, free: 11.64 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.0008255/0.162, allocations: 0.5226 MB / 0.6854 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.162, allocations: 8.031 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.1631, allocations: 136.6 kB / 0.6855 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1632, allocations: 180.2 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.1633, allocations: 50.25 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1634, allocations: 12.38 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.1639, allocations: 226.4 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.164, allocations: 3.938 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.164, allocations: 8 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.164, allocations: 4 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.1647, allocations: 235.9 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.1662, allocations: 0.9701 MB / 0.6871 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.1666, allocations: 178.5 kB / 0.6873 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.167, allocations: 116.8 kB / 0.6874 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.1676, allocations: 0.5181 MB / 0.6879 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1677, allocations: 38.56 kB / 0.688 GB, free: 8.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1677, allocations: 0 / 0.688 GB, free: 8.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001133/0.1688, allocations: 339.9 kB / 0.6883 GB, free: 7.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1688, allocations: 55.41 kB / 0.6883 GB, free: 7.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.169, allocations: 148.5 kB / 0.6885 GB, free: 7.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.169, allocations: 37.69 kB / 0.6885 GB, free: 7.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.1691, allocations: 112.2 kB / 0.6886 GB, free: 7.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.1691, allocations: 59.19 kB / 0.6887 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.1692, allocations: 41.7 kB / 0.6887 GB, free: 7.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.1693, allocations: 326.8 kB / 0.689 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.1697, allocations: 99.88 kB / 0.6891 GB, free: 6.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.1701, allocations: 129.6 kB / 0.6892 GB, free: 6.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.1707, allocations: 197.6 kB / 0.6894 GB, free: 6.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1708, allocations: 3.938 kB / 0.6894 GB, free: 6.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007921/0.1716, allocations: 271.4 kB / 0.6897 GB, free: 6.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1716, allocations: 7.938 kB / 0.6897 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1716, allocations: 0 / 0.6897 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1716, allocations: 3.984 kB / 0.6897 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.172, allocations: 55.84 kB / 0.6898 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.172, allocations: 4 kB / 0.6898 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.1723, allocations: 35.75 kB / 0.6898 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.1723, allocations: 8 kB / 0.6898 GB, free: 6.133 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.0001129/0.1724, allocations: 123.1 kB / 0.6899 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.1725, allocations: 19.81 kB / 0.6899 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.1733, allocations: 258.7 kB / 0.6902 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1733, allocations: 3.938 kB / 0.6902 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1733, allocations: 0 / 0.6902 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1733, allocations: 3.984 kB / 0.6902 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.1751, allocations: 1.07 MB / 0.6912 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1751, allocations: 11.94 kB / 0.6912 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.1754, allocations: 40.03 kB / 0.6913 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1754, allocations: 0 / 0.6913 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1754, allocations: 7.984 kB / 0.6913 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1754, allocations: 0 / 0.6913 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1755, allocations: 4 kB / 0.6913 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.1762, allocations: 348.9 kB / 0.6916 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.1763, allocations: 92.95 kB / 0.6917 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.1763, allocations: 7.984 kB / 0.6917 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.1767, allocations: 19.98 kB / 0.6917 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1767, allocations: 19.97 kB / 0.6918 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1767, allocations: 4 kB / 0.6918 GB, free: 3.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.854e-05/0.1768, allocations: 121.3 kB / 0.6919 GB, free: 3.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 0 / 0.6919 GB, free: 3.785 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000423/0.1773, allocations: 131.9 kB / 0.692 GB, free: 3.656 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.0004114/0.1777, allocations: 230.9 kB / 0.6922 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1784, allocations: 233.8 kB / 0.6925 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1785, allocations: 0 / 0.6925 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.1788, allocations: 118.6 kB / 0.6926 GB, free: 3.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1792, allocations: 59.81 kB / 0.6926 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1813, allocations: 0.5215 MB / 0.6931 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1816, allocations: 0.7089 MB / 0.6938 GB, free: 1.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1818, allocations: 28.67 kB / 0.6939 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.1819, allocations: 23.42 kB / 0.6939 GB, free: 1.688 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1819, allocations: 0 / 0.6939 GB, free: 1.688 MB / 494.1 MB Notification: Performance of Templates: time 0.007316/0.1892, allocations: 4.412 MB / 0.6982 GB, free: 13.32 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)