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.0007568/0.0007568, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004717/0.004718, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 273.5 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 16.19 kB / 0.5987 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1448, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00199/0.1468, allocations: 1.721 MB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1494, allocations: 1.711 MB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.1495, allocations: 0.5625 kB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.1495, allocations: 16.47 kB / 0.6885 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.95e-05/0.1496, allocations: 51.02 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.1504, allocations: 291.2 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1506, allocations: 223.1 kB / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1507, allocations: 43.83 kB / 0.6891 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.1508, allocations: 75.78 kB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1509, allocations: 80.69 kB / 0.6892 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.151, allocations: 15.94 kB / 0.6892 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.1517, allocations: 388.8 kB / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.1517, allocations: 32.42 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1518, allocations: 109.9 kB / 0.6897 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.1523, allocations: 426.8 kB / 0.6902 GB, free: 9.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1523, allocations: 1.906 kB / 0.6902 GB, free: 9.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1523, allocations: 0 / 0.6902 GB, free: 9.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1524, allocations: 0 / 0.6902 GB, free: 9.934 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.000763/0.1531, allocations: 0.4913 MB / 0.6906 GB, free: 9.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1532, allocations: 12.03 kB / 0.6906 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1543, allocations: 148.6 kB / 0.6908 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1545, allocations: 180.2 kB / 0.691 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.1546, allocations: 46.25 kB / 0.691 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1546, allocations: 20.38 kB / 0.691 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.1552, allocations: 218.5 kB / 0.6912 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1552, allocations: 3.938 kB / 0.6912 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.1553, allocations: 4 kB / 0.6912 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1553, allocations: 4 kB / 0.6912 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007566/0.156, allocations: 243.8 kB / 0.6915 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1575, allocations: 0.97 MB / 0.6924 GB, free: 7.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.158, allocations: 186.6 kB / 0.6926 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.1584, allocations: 112.8 kB / 0.6927 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.159, allocations: 0.522 MB / 0.6932 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1591, allocations: 38.5 kB / 0.6933 GB, free: 6.402 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1591, allocations: 3.938 kB / 0.6933 GB, free: 6.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001163/0.1603, allocations: 339.5 kB / 0.6936 GB, free: 6.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1603, allocations: 55.41 kB / 0.6936 GB, free: 5.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1605, allocations: 157.1 kB / 0.6938 GB, free: 5.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1605, allocations: 29.7 kB / 0.6938 GB, free: 5.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.1606, allocations: 116.2 kB / 0.6939 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.1607, allocations: 63.17 kB / 0.694 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1607, allocations: 21.72 kB / 0.694 GB, free: 5.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1608, allocations: 322.8 kB / 0.6943 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.1612, allocations: 111.9 kB / 0.6944 GB, free: 5.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.1616, allocations: 129.9 kB / 0.6945 GB, free: 5.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.1623, allocations: 201.6 kB / 0.6947 GB, free: 4.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1623, allocations: 0 / 0.6947 GB, free: 4.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007987/0.1631, allocations: 265.4 kB / 0.695 GB, free: 4.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1631, allocations: 9.406 kB / 0.695 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1631, allocations: 3.984 kB / 0.695 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1631, allocations: 0 / 0.695 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.1635, allocations: 52 kB / 0.6951 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1635, allocations: 7.938 kB / 0.6951 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.1638, allocations: 39.66 kB / 0.6951 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1638, allocations: 8 kB / 0.6951 GB, free: 4.441 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.0001168/0.164, allocations: 131.1 kB / 0.6952 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.164, allocations: 11.91 kB / 0.6952 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/0.1649, allocations: 270.7 kB / 0.6955 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1649, allocations: 0 / 0.6955 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1649, allocations: 7.875 kB / 0.6955 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1649, allocations: 7.984 kB / 0.6955 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1666, allocations: 1.064 MB / 0.6966 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1667, allocations: 4 kB / 0.6966 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.167, allocations: 39.91 kB / 0.6966 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.167, allocations: 4 kB / 0.6966 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.167, allocations: 7.984 kB / 0.6966 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.167, allocations: 12 kB / 0.6966 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.1671, allocations: 4 kB / 0.6966 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/0.1678, allocations: 346.9 kB / 0.697 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.1679, allocations: 104.8 kB / 0.6971 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1679, allocations: 4 kB / 0.6971 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.1683, allocations: 27.97 kB / 0.6971 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1683, allocations: 7.984 kB / 0.6971 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1684, allocations: 8 kB / 0.6971 GB, free: 2.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.1684, allocations: 121.1 kB / 0.6972 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.1684, allocations: 4 kB / 0.6972 GB, free: 2.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.1689, allocations: 135.7 kB / 0.6973 GB, free: 1.934 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.0004037/0.1693, allocations: 231 kB / 0.6976 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007702/0.1701, allocations: 238.1 kB / 0.6978 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1701, allocations: 0 / 0.6978 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.1705, allocations: 120.1 kB / 0.6979 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1709, allocations: 43.77 kB / 0.698 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.173, allocations: 0.5443 MB / 0.6985 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1733, allocations: 0.7089 MB / 0.6992 GB, free: 0 / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.1735, allocations: 32.72 kB / 0.6992 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.1736, allocations: 27.42 kB / 0.6992 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1736, allocations: 0 / 0.6992 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.007628/0.1812, allocations: 4.395 MB / 0.7035 GB, free: 11.6 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)