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.001728/0.001728, 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.001953/0.001954, allocations: 197.2 kB / 16.14 MB, free: 6.738 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002672, allocations: 279.2 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.178/1.178, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 95.7 kB / 0.6057 GB, free: 25.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1634, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003423/0.1669, allocations: 2.085 MB / 0.6948 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.1697, allocations: 1.742 MB / 0.6965 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.1698, allocations: 3.938 kB / 0.6965 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.57e-05/0.1699, allocations: 15.86 kB / 0.6965 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.17, allocations: 39.67 kB / 0.6966 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.1708, allocations: 303.2 kB / 0.6969 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.1711, allocations: 219.1 kB / 0.6971 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1712, allocations: 45.5 kB / 0.6971 GB, free: 412 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1713, allocations: 79.78 kB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1715, allocations: 87.66 kB / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1715, allocations: 16 kB / 0.6973 GB, free: 228 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.1723, allocations: 391.5 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.1724, allocations: 35.91 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1725, allocations: 87.58 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.1731, allocations: 431.1 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1731, allocations: 4 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1731, allocations: 4 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1731, allocations: 0 / 0.6982 GB, free: 15.29 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.000947/0.1741, allocations: 0.5238 MB / 0.6987 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1741, allocations: 12.03 kB / 0.6987 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.1753, allocations: 136.6 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1754, allocations: 176.2 kB / 0.699 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1756, allocations: 54.25 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1756, allocations: 16.38 kB / 0.6991 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.1762, allocations: 218.2 kB / 0.6993 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1762, allocations: 3.938 kB / 0.6993 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.1763, allocations: 8 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1763, allocations: 4 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.1771, allocations: 239.8 kB / 0.6995 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.1786, allocations: 0.9624 MB / 0.7005 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.1792, allocations: 186.5 kB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.1795, allocations: 108.8 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/0.1803, allocations: 0.522 MB / 0.7013 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1803, allocations: 30.56 kB / 0.7013 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.1804, allocations: 0 / 0.7013 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001211/0.1816, allocations: 331.5 kB / 0.7016 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1816, allocations: 55.41 kB / 0.7017 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1818, allocations: 160.3 kB / 0.7018 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1818, allocations: 29.7 kB / 0.7019 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.1819, allocations: 116.1 kB / 0.702 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.182, allocations: 63.22 kB / 0.702 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.1821, allocations: 45.61 kB / 0.7021 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1823, allocations: 326.8 kB / 0.7024 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.1827, allocations: 107.9 kB / 0.7025 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.183, allocations: 117.7 kB / 0.7026 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.1837, allocations: 199.3 kB / 0.7028 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1837, allocations: 0 / 0.7028 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008468/0.1846, allocations: 279.3 kB / 0.7031 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1846, allocations: 4.938 kB / 0.7031 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1846, allocations: 0 / 0.7031 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1847, allocations: 4 kB / 0.7031 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.185, allocations: 55.84 kB / 0.7031 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1851, allocations: 3.984 kB / 0.7031 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.1854, allocations: 39.67 kB / 0.7032 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1854, allocations: 4 kB / 0.7032 GB, free: 9.785 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.0001366/0.1855, allocations: 129.8 kB / 0.7033 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.1856, allocations: 15.89 kB / 0.7033 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008716/0.1865, allocations: 262.7 kB / 0.7035 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1865, allocations: 3.938 kB / 0.7036 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1865, allocations: 4 kB / 0.7036 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1865, allocations: 4 kB / 0.7036 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1885, allocations: 1.068 MB / 0.7046 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1885, allocations: 8 kB / 0.7046 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.1889, allocations: 43.89 kB / 0.7047 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1889, allocations: 4 kB / 0.7047 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1889, allocations: 4 kB / 0.7047 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1889, allocations: 4 kB / 0.7047 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1889, allocations: 3.984 kB / 0.7047 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.1898, allocations: 344.9 kB / 0.705 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.1898, allocations: 92.94 kB / 0.7051 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.1899, allocations: 8 kB / 0.7051 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.1902, allocations: 23.97 kB / 0.7051 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.1903, allocations: 23.92 kB / 0.7051 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1903, allocations: 4 kB / 0.7051 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001013/0.1904, allocations: 121.5 kB / 0.7053 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1904, allocations: 0 / 0.7053 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004781/0.1909, allocations: 127.8 kB / 0.7054 GB, free: 7.297 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.0004709/0.1914, allocations: 236.8 kB / 0.7056 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007936/0.1922, allocations: 227.8 kB / 0.7058 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1922, allocations: 4.062 kB / 0.7058 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.1926, allocations: 111.9 kB / 0.7059 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.193, allocations: 43.98 kB / 0.706 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.1953, allocations: 0.5138 MB / 0.7065 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1956, allocations: 0.7128 MB / 0.7072 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.1959, allocations: 32.61 kB / 0.7072 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.196, allocations: 23.42 kB / 0.7072 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.196, allocations: 0 / 0.7072 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.009104/0.2051, allocations: 4.421 MB / 0.7115 GB, free: 0.9805 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)