Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.002343/0.002344, allocations: 196 kB / 16.67 MB, free: 5.973 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.538/1.538, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.001442/0.001442, allocations: 70.09 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2434, allocations: 104.7 MB / 0.828 GB, free: 320 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003041/0.2465, allocations: 2.019 MB / 0.83 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.2492, allocations: 2.041 MB / 0.832 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.2492, allocations: 0 / 0.832 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.857e-05/0.2493, allocations: 23.84 kB / 0.832 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2494, allocations: 47.55 kB / 0.8321 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2505, allocations: 450 kB / 0.8325 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.2508, allocations: 223.1 kB / 0.8327 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.2509, allocations: 57.41 kB / 0.8328 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.251, allocations: 83.7 kB / 0.8328 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2512, allocations: 87.67 kB / 0.8329 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.2512, allocations: 20 kB / 0.833 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.2519, allocations: 467.3 kB / 0.8334 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.252, allocations: 39.89 kB / 0.8334 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.252, allocations: 87.66 kB / 0.8335 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.2527, allocations: 0.4988 MB / 0.834 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2527, allocations: 4 kB / 0.834 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2527, allocations: 4 kB / 0.834 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2527, allocations: 0 / 0.834 GB, free: 10.16 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000876/0.2536, allocations: 0.5421 MB / 0.8345 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2537, allocations: 12.03 kB / 0.8346 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.2543, allocations: 88.64 kB / 0.8346 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2544, allocations: 184.1 kB / 0.8348 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.2545, allocations: 54.25 kB / 0.8349 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.2545, allocations: 16.38 kB / 0.8349 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.255, allocations: 185.9 kB / 0.8351 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.255, allocations: 3.938 kB / 0.8351 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.255, allocations: 8 kB / 0.8351 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.255, allocations: 0 / 0.8351 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.2555, allocations: 179.9 kB / 0.8352 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2568, allocations: 0.9113 MB / 0.8361 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.2573, allocations: 178.4 kB / 0.8363 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.2575, allocations: 84.83 kB / 0.8364 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.2582, allocations: 0.5184 MB / 0.8369 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2582, allocations: 34.56 kB / 0.8369 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.2582, allocations: 8 kB / 0.8369 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0007216/0.259, allocations: 240.3 kB / 0.8372 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.259, allocations: 51.41 kB / 0.8372 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2592, allocations: 161.5 kB / 0.8374 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2592, allocations: 25.7 kB / 0.8374 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.2593, allocations: 123.8 kB / 0.8375 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2593, allocations: 47.3 kB / 0.8375 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.2594, allocations: 37.7 kB / 0.8376 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2595, allocations: 322.8 kB / 0.8379 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.2597, allocations: 75.95 kB / 0.838 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2599, allocations: 89.67 kB / 0.8381 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.2603, allocations: 156.5 kB / 0.8382 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2603, allocations: 3.938 kB / 0.8382 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004784/0.2608, allocations: 213.4 kB / 0.8384 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2608, allocations: 4 kB / 0.8384 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2609, allocations: 4.031 kB / 0.8384 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2609, allocations: 0 / 0.8384 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2611, allocations: 43.91 kB / 0.8385 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2612, allocations: 4 kB / 0.8385 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.2613, allocations: 19.83 kB / 0.8385 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2614, allocations: 8 kB / 0.8385 GB, free: 5.156 MB / 0.6544 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 (20): * Single equations (assignments): 20 * 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.0001196/0.2615, allocations: 133.7 kB / 0.8386 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2615, allocations: 11.91 kB / 0.8386 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.262, allocations: 194.3 kB / 0.8388 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2621, allocations: 4 kB / 0.8388 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2621, allocations: 0 / 0.8388 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2621, allocations: 3.984 kB / 0.8388 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.2635, allocations: 0.9778 MB / 0.8398 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2635, allocations: 4.062 kB / 0.8398 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.2637, allocations: 35.91 kB / 0.8398 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2637, allocations: 0 / 0.8398 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.2637, allocations: 8 kB / 0.8398 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2637, allocations: 0 / 0.8398 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2638, allocations: 0 / 0.8398 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.2642, allocations: 296.9 kB / 0.8401 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.2643, allocations: 89.02 kB / 0.8402 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.2643, allocations: 7.984 kB / 0.8402 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2646, allocations: 19.92 kB / 0.8402 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.2646, allocations: 11.92 kB / 0.8402 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2646, allocations: 4 kB / 0.8402 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.482e-05/0.2647, allocations: 127.2 kB / 0.8404 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2647, allocations: 0 / 0.8404 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005405/0.2653, allocations: 171.8 kB / 0.8405 GB, free: 2.867 MB / 0.6544 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 (14): * Single equations (assignments): 14 * 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.0005308/0.2658, allocations: 283 kB / 0.8408 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.2663, allocations: 178.4 kB / 0.841 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2663, allocations: 0 / 0.841 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.2665, allocations: 83.89 kB / 0.841 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.267, allocations: 40.42 kB / 0.8411 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.2677, allocations: 331.5 kB / 0.8414 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.268, allocations: 0.7086 MB / 0.8421 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.2681, allocations: 24.92 kB / 0.8421 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.2682, allocations: 31.36 kB / 0.8421 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2682, allocations: 0 / 0.8421 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of Templates: time 0.009052/0.2773, allocations: 4.474 MB / 0.8465 GB, free: 12.72 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)