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.005883/0.005883, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001194/0.001195, allocations: 195 kB / 16.67 MB, free: 5.977 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.342/1.342, 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.002163/0.002163, allocations: 280.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.9287/0.9287, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 99.84 kB / 0.6814 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4491, allocations: 86.97 MB / 0.7664 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002991/0.4521, allocations: 2.019 MB / 0.7684 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.4543, allocations: 1.664 MB / 0.77 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.4544, allocations: 4 kB / 0.77 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.4545, allocations: 15.8 kB / 0.77 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.4546, allocations: 51.55 kB / 0.77 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.4554, allocations: 362.9 kB / 0.7704 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.4557, allocations: 231 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4558, allocations: 57.44 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/0.4559, allocations: 83.83 kB / 0.7707 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.456, allocations: 91.66 kB / 0.7708 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.4561, allocations: 20 kB / 0.7709 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/0.4568, allocations: 415.5 kB / 0.7712 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.4569, allocations: 43.91 kB / 0.7713 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.457, allocations: 91.58 kB / 0.7714 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.4576, allocations: 436.3 kB / 0.7718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4576, allocations: 4 kB / 0.7718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4576, allocations: 0 / 0.7718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4576, allocations: 3.938 kB / 0.7718 GB, free: 14.22 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.0008076/0.4584, allocations: 0.5296 MB / 0.7723 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.4584, allocations: 12.03 kB / 0.7723 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.4595, allocations: 140.6 kB / 0.7725 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4596, allocations: 176.2 kB / 0.7726 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.4597, allocations: 54 kB / 0.7727 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.4597, allocations: 16.38 kB / 0.7727 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.4603, allocations: 215.1 kB / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4603, allocations: 3.938 kB / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4603, allocations: 8 kB / 0.7729 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4603, allocations: 0 / 0.7729 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.461, allocations: 235.8 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.4624, allocations: 0.9664 MB / 0.7741 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.4629, allocations: 186.5 kB / 0.7743 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.4632, allocations: 112.8 kB / 0.7744 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/0.464, allocations: 0.5259 MB / 0.7749 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.464, allocations: 38.5 kB / 0.7749 GB, free: 10.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.464, allocations: 0 / 0.7749 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001106/0.4651, allocations: 328.7 kB / 0.7752 GB, free: 10.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4652, allocations: 55.41 kB / 0.7753 GB, free: 10.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4653, allocations: 161.8 kB / 0.7754 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4654, allocations: 37.64 kB / 0.7755 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.4654, allocations: 116.3 kB / 0.7756 GB, free: 9.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.4655, allocations: 67.45 kB / 0.7757 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4656, allocations: 37.7 kB / 0.7757 GB, free: 9.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4657, allocations: 322.8 kB / 0.776 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.4661, allocations: 107.9 kB / 0.7761 GB, free: 9.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.4664, allocations: 118.3 kB / 0.7762 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.4671, allocations: 201.2 kB / 0.7764 GB, free: 9.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4671, allocations: 0 / 0.7764 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007718/0.4679, allocations: 277.4 kB / 0.7767 GB, free: 8.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4679, allocations: 4 kB / 0.7767 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4679, allocations: 0 / 0.7767 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4679, allocations: 0 / 0.7767 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.4683, allocations: 55.92 kB / 0.7767 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4683, allocations: 4 kB / 0.7767 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.4686, allocations: 27.88 kB / 0.7768 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4686, allocations: 15.92 kB / 0.7768 GB, free: 8.707 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.0001093/0.4687, allocations: 128.2 kB / 0.7769 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.4688, allocations: 15.91 kB / 0.7769 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.4696, allocations: 266.6 kB / 0.7772 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4696, allocations: 7.938 kB / 0.7772 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4696, allocations: 0 / 0.7772 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4696, allocations: 0 / 0.7772 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4715, allocations: 1.066 MB / 0.7782 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4715, allocations: 11.92 kB / 0.7782 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.4719, allocations: 35.97 kB / 0.7783 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4719, allocations: 0 / 0.7783 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.4719, allocations: 11.94 kB / 0.7783 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4719, allocations: 3.938 kB / 0.7783 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.4719, allocations: 4 kB / 0.7783 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.4727, allocations: 349.1 kB / 0.7786 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.4728, allocations: 92.94 kB / 0.7787 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.4729, allocations: 12 kB / 0.7787 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.4732, allocations: 23.97 kB / 0.7787 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.4732, allocations: 15.98 kB / 0.7787 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4732, allocations: 4 kB / 0.7787 GB, free: 6.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.398e-05/0.4733, allocations: 115.2 kB / 0.7789 GB, free: 6.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4734, allocations: 3.938 kB / 0.7789 GB, free: 6.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004659/0.4738, allocations: 135.6 kB / 0.779 GB, free: 6.219 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.0004496/0.4743, allocations: 226.8 kB / 0.7792 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007983/0.4751, allocations: 235.8 kB / 0.7794 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4751, allocations: 0 / 0.7794 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.4755, allocations: 118.6 kB / 0.7795 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4759, allocations: 57.64 kB / 0.7796 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.478, allocations: 483.2 kB / 0.7801 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.4783, allocations: 0.7086 MB / 0.7808 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.4785, allocations: 37.78 kB / 0.7808 GB, free: 4.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.4786, allocations: 19.44 kB / 0.7808 GB, free: 4.305 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4786, allocations: 3.938 kB / 0.7808 GB, free: 4.301 MB / 0.545 GB Notification: Performance of Templates: time 0.008557/0.4871, allocations: 4.557 MB / 0.7853 GB, free: 15.79 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)