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.001365/0.001365, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 194.3 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 275.2 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 101.6 kB / 0.5952 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1569, allocations: 86.98 MB / 0.6802 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00326/0.1602, allocations: 2.012 MB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1626, allocations: 1.66 MB / 0.6838 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.1627, allocations: 8 kB / 0.6838 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.373e-05/0.1628, allocations: 19.78 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1629, allocations: 51.55 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1639, allocations: 358.7 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1642, allocations: 227.1 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1643, allocations: 49.81 kB / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1645, allocations: 91.75 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1646, allocations: 87.67 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.1647, allocations: 20 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007651/0.1654, allocations: 407.5 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1655, allocations: 39.91 kB / 0.6851 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.1656, allocations: 87.66 kB / 0.6852 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.1662, allocations: 438.9 kB / 0.6856 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1662, allocations: 3.938 kB / 0.6856 GB, free: 11.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1662, allocations: 0 / 0.6856 GB, free: 11.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1662, allocations: 4 kB / 0.6856 GB, free: 11.19 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.0008121/0.1671, allocations: 0.5186 MB / 0.6861 GB, free: 10.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1671, allocations: 8.031 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1682, allocations: 148.6 kB / 0.6862 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1684, allocations: 176.2 kB / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.1685, allocations: 50.25 kB / 0.6864 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1685, allocations: 16.38 kB / 0.6865 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.169, allocations: 218.5 kB / 0.6867 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1691, allocations: 3.938 kB / 0.6867 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.1691, allocations: 4 kB / 0.6867 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1691, allocations: 4 kB / 0.6867 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007233/0.1698, allocations: 231.9 kB / 0.6869 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1712, allocations: 0.9739 MB / 0.6879 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.1716, allocations: 178.6 kB / 0.688 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.172, allocations: 116.8 kB / 0.6881 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/0.1726, allocations: 0.522 MB / 0.6886 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1727, allocations: 34.56 kB / 0.6887 GB, free: 7.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.1727, allocations: 4 kB / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001138/0.1738, allocations: 329.6 kB / 0.689 GB, free: 7.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1739, allocations: 55.41 kB / 0.6891 GB, free: 7.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.174, allocations: 161.7 kB / 0.6892 GB, free: 7.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.174, allocations: 29.7 kB / 0.6892 GB, free: 7.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.1741, allocations: 116.2 kB / 0.6893 GB, free: 6.934 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.1742, allocations: 55.2 kB / 0.6894 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.1742, allocations: 41.7 kB / 0.6894 GB, free: 6.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.1743, allocations: 318.8 kB / 0.6897 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.1747, allocations: 111.8 kB / 0.6898 GB, free: 6.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.1751, allocations: 131.5 kB / 0.69 GB, free: 6.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.1757, allocations: 192.8 kB / 0.6902 GB, free: 6.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1758, allocations: 0 / 0.6902 GB, free: 6.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008021/0.1766, allocations: 273.3 kB / 0.6904 GB, free: 5.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1766, allocations: 8.016 kB / 0.6904 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1766, allocations: 4 kB / 0.6904 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1766, allocations: 4 kB / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.177, allocations: 47.91 kB / 0.6905 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.177, allocations: 3.938 kB / 0.6905 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.1773, allocations: 43.75 kB / 0.6905 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1773, allocations: 4 kB / 0.6905 GB, free: 5.691 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.0001081/0.1774, allocations: 123.2 kB / 0.6906 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1775, allocations: 19.75 kB / 0.6907 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.1783, allocations: 269.2 kB / 0.6909 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1783, allocations: 7.922 kB / 0.6909 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1783, allocations: 0 / 0.6909 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1783, allocations: 4 kB / 0.6909 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.1801, allocations: 1.067 MB / 0.692 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1801, allocations: 3.938 kB / 0.692 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.1804, allocations: 35.97 kB / 0.692 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.1804, allocations: 4 kB / 0.692 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1804, allocations: 19.98 kB / 0.692 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1805, allocations: 0 / 0.692 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1805, allocations: 4 kB / 0.692 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1812, allocations: 340.9 kB / 0.6924 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.1813, allocations: 92.94 kB / 0.6925 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.1813, allocations: 12 kB / 0.6925 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.1817, allocations: 19.97 kB / 0.6925 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1817, allocations: 15.98 kB / 0.6925 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1817, allocations: 4 kB / 0.6925 GB, free: 3.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.1818, allocations: 121.2 kB / 0.6926 GB, free: 3.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 8 kB / 0.6926 GB, free: 3.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.1823, allocations: 127.9 kB / 0.6927 GB, free: 3.207 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.0004445/0.1827, allocations: 238.9 kB / 0.693 GB, free: 2.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007992/0.1835, allocations: 238.4 kB / 0.6932 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1836, allocations: 3.938 kB / 0.6932 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.1839, allocations: 112.1 kB / 0.6933 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.1844, allocations: 51.7 kB / 0.6934 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1865, allocations: 488.2 kB / 0.6938 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1868, allocations: 0.7086 MB / 0.6945 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.187, allocations: 32.55 kB / 0.6946 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.1871, allocations: 23.42 kB / 0.6946 GB, free: 1.273 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1871, allocations: 0 / 0.6946 GB, free: 1.273 MB / 494.1 MB Notification: Performance of Templates: time 0.009142/0.1962, allocations: 4.546 MB / 0.699 GB, free: 12.79 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)