Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001201/0.001201, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 194 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.64 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.0046/0.3289, allocations: 2.036 MB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.3321, allocations: 1.668 MB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3323, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.3325, allocations: 23.8 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3327, allocations: 51.55 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.3342, allocations: 362.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.3345, allocations: 223.2 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3347, allocations: 65.23 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3349, allocations: 75.78 kB / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.335, allocations: 99.66 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.3351, allocations: 20 kB / 1.073 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.336, allocations: 399.5 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.336, allocations: 39.91 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3361, allocations: 91.58 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007519/0.3369, allocations: 443.2 kB / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3369, allocations: 0 / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3369, allocations: 0 / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3369, allocations: 0 / 1.074 GB, free: 4.918 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.0009795/0.3379, allocations: 0.5147 MB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.338, allocations: 8.031 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.3392, allocations: 136.6 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.3394, allocations: 184.2 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3395, allocations: 54.25 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.3395, allocations: 12.38 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.3401, allocations: 219.7 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3402, allocations: 11.88 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3402, allocations: 8 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3402, allocations: 4 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.341, allocations: 235.8 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.3425, allocations: 0.9699 MB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.3431, allocations: 182.5 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.3434, allocations: 116.8 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.3441, allocations: 0.5181 MB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3441, allocations: 38.56 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3442, allocations: 0 / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001235/0.3454, allocations: 327.2 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3454, allocations: 55.41 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3456, allocations: 154.5 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.3457, allocations: 33.7 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.3457, allocations: 120.1 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.3458, allocations: 59.27 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.3459, allocations: 45.55 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.346, allocations: 326.8 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3464, allocations: 103.9 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.3468, allocations: 123.2 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.3475, allocations: 199.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3476, allocations: 4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008486/0.3484, allocations: 268.6 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3484, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3485, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3485, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.3489, allocations: 63.86 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3489, allocations: 4 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.3492, allocations: 31.73 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3493, allocations: 11.98 kB / 1.079 GB, free: 15.41 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.0001254/0.3494, allocations: 126.3 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.3494, allocations: 11.91 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008644/0.3503, allocations: 266.6 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3503, allocations: 3.938 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3503, allocations: 4 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3504, allocations: 0 / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.3523, allocations: 1.07 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.3523, allocations: 7.938 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.3526, allocations: 43.95 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3526, allocations: 0 / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3527, allocations: 4 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3527, allocations: 0 / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3527, allocations: 7.938 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.3535, allocations: 354.7 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.3536, allocations: 88.95 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3536, allocations: 8 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.354, allocations: 27.97 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.354, allocations: 11.98 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3541, allocations: 4 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.087e-05/0.3542, allocations: 121.4 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3542, allocations: 0 / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000519/0.3547, allocations: 135.9 kB / 1.081 GB, free: 12.93 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.0005255/0.3552, allocations: 227 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000843/0.3561, allocations: 235.8 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3561, allocations: 0 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.3565, allocations: 111.9 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.3569, allocations: 52.05 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.3591, allocations: 476.3 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3594, allocations: 0.7164 MB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.3596, allocations: 32.41 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.3597, allocations: 23.44 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3597, allocations: 0 / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.009087/0.3688, allocations: 4.538 MB / 1.087 GB, free: 6.52 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)