Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009001/0.0009001, allocations: 91.84 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.006764/0.006764, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005977/0.0005976, allocations: 11.78 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3738, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002921/0.3768, allocations: 1.742 MB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.3801, allocations: 1.733 MB / 1.078 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.3803, allocations: 4 kB / 1.078 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.812e-05/0.3803, allocations: 7.922 kB / 1.078 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3805, allocations: 51.61 kB / 1.078 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3818, allocations: 291.2 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.3822, allocations: 219.1 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3824, allocations: 37.55 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3825, allocations: 75.72 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3827, allocations: 87.66 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.3827, allocations: 8 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.3836, allocations: 391.5 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.3837, allocations: 31.89 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3838, allocations: 105.4 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008226/0.3847, allocations: 435.1 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3847, allocations: 0 / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3847, allocations: 0 / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3847, allocations: 0 / 1.079 GB, free: 2.34 MB / 0.8262 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.001239/0.3859, allocations: 495.2 kB / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.386, allocations: 12.03 kB / 1.08 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.3872, allocations: 152.5 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3874, allocations: 192 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.3876, allocations: 50.25 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.3876, allocations: 12.38 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.3883, allocations: 223.7 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3883, allocations: 7.922 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3883, allocations: 12 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3883, allocations: 4 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.3891, allocations: 231.9 kB / 1.081 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.3906, allocations: 0.9776 MB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3911, allocations: 178.6 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.3915, allocations: 116.8 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006859/0.3922, allocations: 0.5181 MB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3922, allocations: 34.56 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3922, allocations: 0 / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001162/0.3934, allocations: 345.5 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.3935, allocations: 51.41 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3937, allocations: 157.3 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3937, allocations: 29.69 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3939, allocations: 124.1 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.3939, allocations: 55.2 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.394, allocations: 21.7 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.3942, allocations: 322.8 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.3946, allocations: 107.9 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.395, allocations: 127.3 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.3957, allocations: 200.6 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3957, allocations: 0 / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008274/0.3965, allocations: 281.3 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3966, allocations: 7.938 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3966, allocations: 0 / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3966, allocations: 4 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.397, allocations: 47.97 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.397, allocations: 11.92 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3973, allocations: 27.83 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3973, allocations: 8 kB / 1.084 GB, free: 12.84 MB / 0.8419 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.0001295/0.3975, allocations: 131.5 kB / 1.084 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3975, allocations: 15.81 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008622/0.3984, allocations: 269.5 kB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3984, allocations: 7.938 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3984, allocations: 3.938 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3984, allocations: 3.938 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.4005, allocations: 1.07 MB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4005, allocations: 0 / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.4008, allocations: 55.95 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4008, allocations: 0 / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4008, allocations: 4 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4009, allocations: 0 / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4009, allocations: 7.984 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.4017, allocations: 349 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4018, allocations: 100.8 kB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.4018, allocations: 8 kB / 1.086 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.4022, allocations: 27.97 kB / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.4023, allocations: 15.98 kB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.4023, allocations: 7.984 kB / 1.086 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.186e-05/0.4024, allocations: 119.2 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4024, allocations: 0 / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004779/0.4029, allocations: 127.9 kB / 1.086 GB, free: 10.34 MB / 0.8419 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.0004699/0.4034, allocations: 230.9 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008081/0.4042, allocations: 235.8 kB / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4042, allocations: 0 / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.4046, allocations: 111.9 kB / 1.087 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.405, allocations: 49.98 kB / 1.087 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4073, allocations: 0.5365 MB / 1.088 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4077, allocations: 0.7166 MB / 1.088 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.4079, allocations: 32.73 kB / 1.088 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.408, allocations: 23.44 kB / 1.088 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.408, allocations: 7.938 kB / 1.088 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of Templates: time 0.009027/0.417, allocations: 4.383 MB / 1.093 GB, free: 3.996 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)