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.006338/0.006338, allocations: 103.8 kB / 15.73 MB, free: 6.062 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.001141/0.001141, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002346/0.002345, allocations: 292.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8949/0.8949, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 95.86 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4519, allocations: 86.97 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002802/0.4547, allocations: 2.019 MB / 0.7683 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.4569, allocations: 1.671 MB / 0.77 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.457, allocations: 8 kB / 0.77 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.766e-05/0.457, allocations: 19.78 kB / 0.77 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.918e-05/0.4571, allocations: 47.55 kB / 0.77 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008322/0.458, allocations: 358.8 kB / 0.7704 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.4582, allocations: 231.1 kB / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.4583, allocations: 63.78 kB / 0.7707 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.4584, allocations: 83.81 kB / 0.7708 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.4586, allocations: 91.67 kB / 0.7708 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.4586, allocations: 20 kB / 0.7709 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.4593, allocations: 415.5 kB / 0.7713 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.4594, allocations: 43.83 kB / 0.7713 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.4595, allocations: 95.64 kB / 0.7714 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.46, allocations: 429.5 kB / 0.7718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.46, allocations: 0 / 0.7718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4601, allocations: 0 / 0.7718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.4601, allocations: 0 / 0.7718 GB, free: 14.35 MB / 0.545 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.0009498/0.461, allocations: 0.5225 MB / 0.7723 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4611, allocations: 8.031 kB / 0.7723 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.4622, allocations: 136.6 kB / 0.7724 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.4623, allocations: 192.1 kB / 0.7726 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.4624, allocations: 53.94 kB / 0.7727 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.4625, allocations: 16.38 kB / 0.7727 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.4631, allocations: 219.1 kB / 0.7729 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4631, allocations: 3.938 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.4631, allocations: 4 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4631, allocations: 4 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.4638, allocations: 235.8 kB / 0.7731 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.4652, allocations: 0.9663 MB / 0.7741 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.4656, allocations: 186.6 kB / 0.7743 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.466, allocations: 108.7 kB / 0.7744 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.4666, allocations: 0.5181 MB / 0.7749 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.4666, allocations: 38.55 kB / 0.7749 GB, free: 10.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.4667, allocations: 3.938 kB / 0.7749 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.00106/0.4677, allocations: 332.6 kB / 0.7752 GB, free: 10.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.4678, allocations: 55.34 kB / 0.7753 GB, free: 10.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4679, allocations: 158.3 kB / 0.7754 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.4679, allocations: 29.7 kB / 0.7755 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.468, allocations: 128.1 kB / 0.7756 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.4681, allocations: 51.27 kB / 0.7756 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.4682, allocations: 45.61 kB / 0.7757 GB, free: 9.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4683, allocations: 326.8 kB / 0.776 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.4686, allocations: 107.9 kB / 0.7761 GB, free: 9.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.4689, allocations: 115.3 kB / 0.7762 GB, free: 9.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.4695, allocations: 199.8 kB / 0.7764 GB, free: 9.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4695, allocations: 4 kB / 0.7764 GB, free: 9.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007274/0.4703, allocations: 269.4 kB / 0.7767 GB, free: 8.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4703, allocations: 4 kB / 0.7767 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4703, allocations: 4 kB / 0.7767 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4703, allocations: 0 / 0.7767 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.4707, allocations: 55.92 kB / 0.7767 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4707, allocations: 0 / 0.7767 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.471, allocations: 35.73 kB / 0.7767 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.471, allocations: 7.984 kB / 0.7768 GB, free: 8.848 MB / 0.545 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.0001174/0.4712, allocations: 133.8 kB / 0.7769 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.4712, allocations: 11.91 kB / 0.7769 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.472, allocations: 258.6 kB / 0.7771 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.472, allocations: 7.938 kB / 0.7771 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.472, allocations: 4 kB / 0.7772 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.472, allocations: 0 / 0.7772 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4737, allocations: 1.076 MB / 0.7782 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4737, allocations: 3.938 kB / 0.7782 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.474, allocations: 43.95 kB / 0.7782 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.474, allocations: 3.938 kB / 0.7783 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.474, allocations: 0 / 0.7783 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.474, allocations: 4 kB / 0.7783 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.474, allocations: 0 / 0.7783 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.4748, allocations: 357 kB / 0.7786 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.4748, allocations: 96.89 kB / 0.7787 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.4749, allocations: 0 / 0.7787 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.4752, allocations: 35.97 kB / 0.7787 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.4753, allocations: 7.984 kB / 0.7787 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.4753, allocations: 8 kB / 0.7787 GB, free: 6.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.707e-05/0.4754, allocations: 119.2 kB / 0.7789 GB, free: 6.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4754, allocations: 0 / 0.7789 GB, free: 6.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004366/0.4758, allocations: 135.7 kB / 0.779 GB, free: 6.355 MB / 0.545 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.0003964/0.4762, allocations: 226.4 kB / 0.7792 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007193/0.4769, allocations: 242.8 kB / 0.7794 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.477, allocations: 0 / 0.7794 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.4773, allocations: 111.9 kB / 0.7795 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.4777, allocations: 48.08 kB / 0.7796 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4797, allocations: 472.4 kB / 0.78 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.48, allocations: 0.7125 MB / 0.7807 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.4801, allocations: 38.03 kB / 0.7808 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.4802, allocations: 23.38 kB / 0.7808 GB, free: 4.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.4802, allocations: 0 / 0.7808 GB, free: 4.449 MB / 0.545 GB Notification: Performance of Templates: time 0.008091/0.4883, allocations: 4.617 MB / 0.7853 GB, free: 15.88 MB / 0.5606 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)