Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00124/0.00124, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009406/0.009406, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.562/1.562, allocations: 252 MB / 0.5105 GB, free: 4.645 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008357/0.0008358, allocations: 12 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5611, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002491/0.5636, allocations: 1.741 MB / 0.7304 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.5666, allocations: 2.057 MB / 0.7324 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.5667, allocations: 4 kB / 0.7324 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.5668, allocations: 7.922 kB / 0.7324 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.5669, allocations: 43.61 kB / 0.7325 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.5681, allocations: 382.5 kB / 0.7329 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.5684, allocations: 219.1 kB / 0.7331 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.5685, allocations: 51.48 kB / 0.7331 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.5686, allocations: 71.77 kB / 0.7332 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.5688, allocations: 79.69 kB / 0.7333 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.5688, allocations: 15.94 kB / 0.7333 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.5696, allocations: 483.1 kB / 0.7337 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.5697, allocations: 27.91 kB / 0.7338 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.5698, allocations: 109.3 kB / 0.7339 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007166/0.5705, allocations: 0.5143 MB / 0.7344 GB, free: 5.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5705, allocations: 4 kB / 0.7344 GB, free: 5.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5705, allocations: 0 / 0.7344 GB, free: 5.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5705, allocations: 0 / 0.7344 GB, free: 5.43 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.0009071/0.5715, allocations: 0.5187 MB / 0.7349 GB, free: 4.859 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5715, allocations: 8.031 kB / 0.7349 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.5727, allocations: 152.5 kB / 0.735 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.5728, allocations: 184.1 kB / 0.7352 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.757e-05/0.5729, allocations: 58 kB / 0.7353 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.573, allocations: 12.38 kB / 0.7353 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.5736, allocations: 217.9 kB / 0.7355 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5736, allocations: 3.938 kB / 0.7355 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.5736, allocations: 8 kB / 0.7355 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5736, allocations: 4 kB / 0.7355 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.5744, allocations: 243.8 kB / 0.7357 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.5759, allocations: 0.9778 MB / 0.7367 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.5764, allocations: 174.6 kB / 0.7368 GB, free: 2.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.5768, allocations: 116.8 kB / 0.737 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000663/0.5774, allocations: 0.522 MB / 0.7375 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.5775, allocations: 42.5 kB / 0.7375 GB, free: 1.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.5775, allocations: 0 / 0.7375 GB, free: 1.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001182/0.5787, allocations: 337.6 kB / 0.7378 GB, free: 1.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.5787, allocations: 59.39 kB / 0.7379 GB, free: 1.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.5789, allocations: 148.7 kB / 0.738 GB, free: 1.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.5789, allocations: 37.69 kB / 0.7381 GB, free: 1.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.579, allocations: 112.2 kB / 0.7382 GB, free: 1.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.5791, allocations: 55.2 kB / 0.7382 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.5791, allocations: 25.7 kB / 0.7382 GB, free: 1.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5793, allocations: 326.8 kB / 0.7386 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.5796, allocations: 107.9 kB / 0.7387 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.58, allocations: 120.3 kB / 0.7388 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/0.5806, allocations: 211.8 kB / 0.739 GB, free: 288 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5807, allocations: 0 / 0.739 GB, free: 288 kB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007728/0.5814, allocations: 273.4 kB / 0.7392 GB, free: 8 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.5815, allocations: 11.98 kB / 0.7393 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5815, allocations: 0 / 0.7393 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.5815, allocations: 0 / 0.7393 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.5819, allocations: 47.92 kB / 0.7393 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5819, allocations: 11.92 kB / 0.7393 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.5822, allocations: 35.73 kB / 0.7393 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.5822, allocations: 4 kB / 0.7393 GB, free: 15.9 MB / 0.5606 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.0001179/0.5823, allocations: 133.8 kB / 0.7395 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5824, allocations: 11.91 kB / 0.7395 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008452/0.5833, allocations: 270.6 kB / 0.7397 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5833, allocations: 0 / 0.7397 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5833, allocations: 7.938 kB / 0.7398 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5833, allocations: 4 kB / 0.7398 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5851, allocations: 1.072 MB / 0.7408 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5851, allocations: 4 kB / 0.7408 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.5854, allocations: 47.89 kB / 0.7409 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5854, allocations: 4 kB / 0.7409 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.5855, allocations: 4 kB / 0.7409 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5855, allocations: 4 kB / 0.7409 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5855, allocations: 3.938 kB / 0.7409 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.5863, allocations: 352.1 kB / 0.7412 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.5863, allocations: 104.8 kB / 0.7413 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.5864, allocations: 0 / 0.7413 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.5867, allocations: 31.97 kB / 0.7413 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.5867, allocations: 7.984 kB / 0.7413 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.5868, allocations: 7.984 kB / 0.7413 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.5869, allocations: 125.7 kB / 0.7415 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5869, allocations: 0 / 0.7415 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005472/0.5874, allocations: 175.8 kB / 0.7416 GB, free: 13.35 MB / 0.5606 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.0005413/0.588, allocations: 286.9 kB / 0.7419 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007525/0.5887, allocations: 231.8 kB / 0.7421 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5887, allocations: 0 / 0.7421 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.5891, allocations: 116.1 kB / 0.7422 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.5895, allocations: 57.34 kB / 0.7423 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.5917, allocations: 0.5365 MB / 0.7428 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.592, allocations: 0.7087 MB / 0.7435 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00021/0.5922, allocations: 37.47 kB / 0.7435 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.5923, allocations: 23.42 kB / 0.7436 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5923, allocations: 0 / 0.7436 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.008229/0.6005, allocations: 4.573 MB / 0.748 GB, free: 6.766 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: