Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 81.95 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9362/0.9362, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001643/0.001643, allocations: 241.8 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7098/0.7098, allocations: 138.4 MB / 455.5 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.591e-05, allocations: 8.078 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00239/0.002416, allocations: 2.055 MB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004038, allocations: 1.453 MB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.004099, allocations: 0 / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.004144, allocations: 15.8 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.004224, allocations: 51.55 kB / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.004939, allocations: 346.6 kB / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.005106, allocations: 227 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.00521, allocations: 41.42 kB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.005319, allocations: 123.8 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.005415, allocations: 67.83 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.005442, allocations: 20 kB / 0.5599 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.005893, allocations: 359.4 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.005924, allocations: 35.89 kB / 0.5602 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.005976, allocations: 75.81 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.006388, allocations: 394.8 kB / 0.5607 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006391, allocations: 0 / 0.5607 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006392, allocations: 0 / 0.5607 GB, free: 10.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.006395, allocations: 3.938 kB / 0.5607 GB, free: 10.59 MB / 490.7 MB 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.0005207/0.006916, allocations: 0.5464 MB / 0.5612 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00695, allocations: 8.75 kB / 0.5612 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.007225, allocations: 92.77 kB / 0.5613 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.007302, allocations: 132.4 kB / 0.5615 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.007363, allocations: 75.97 kB / 0.5615 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.007383, allocations: 16.38 kB / 0.5615 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.007597, allocations: 203.3 kB / 0.5617 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.007604, allocations: 192 / 0.5617 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.007618, allocations: 4.375 kB / 0.5617 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007624, allocations: 12.06 kB / 0.5618 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.007704, allocations: 64.39 kB / 0.5618 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.008702, allocations: 0.5798 MB / 0.5624 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.009323, allocations: 206.8 kB / 0.5626 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.009373, allocations: 43.67 kB / 0.5626 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.009573, allocations: 79.97 kB / 0.5627 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.009594, allocations: 37.39 kB / 0.5627 GB, free: 8.359 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.009595, allocations: 4 kB / 0.5627 GB, free: 8.355 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006107/0.01021, allocations: 242 kB / 0.563 GB, free: 8.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.01023, allocations: 55.34 kB / 0.563 GB, free: 8.043 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.01031, allocations: 193.7 kB / 0.5632 GB, free: 7.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01032, allocations: 29.7 kB / 0.5632 GB, free: 7.805 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.01038, allocations: 163.1 kB / 0.5634 GB, free: 7.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.01041, allocations: 59.52 kB / 0.5634 GB, free: 7.582 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.01047, allocations: 43.34 kB / 0.5635 GB, free: 7.531 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01057, allocations: 0.4962 MB / 0.564 GB, free: 7.023 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.01062, allocations: 39.92 kB / 0.564 GB, free: 6.984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.01066, allocations: 37 kB / 0.564 GB, free: 6.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.01076, allocations: 85.66 kB / 0.5641 GB, free: 6.863 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01076, allocations: 0 / 0.5641 GB, free: 6.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.01106, allocations: 187.9 kB / 0.5643 GB, free: 6.672 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01107, allocations: 8 kB / 0.5643 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01108, allocations: 4 kB / 0.5643 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.0113, allocations: 88.62 kB / 0.5644 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.01181, allocations: 95.95 kB / 0.5645 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003871/0.01219, allocations: 0.8234 MB / 0.5653 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.01226, allocations: 19.88 kB / 0.5653 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.01227, allocations: 11.88 kB / 0.5653 GB, free: 5.594 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/0.01236, allocations: 160.6 kB / 0.5655 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01239, allocations: 15.95 kB / 0.5655 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.01271, allocations: 199.3 kB / 0.5657 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01271, allocations: 4 kB / 0.5657 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01272, allocations: 3.938 kB / 0.5657 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01272, allocations: 0 / 0.5657 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.01344, allocations: 0.5437 MB / 0.5662 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01344, allocations: 0 / 0.5662 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.01393, allocations: 104 kB / 0.5663 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.01412, allocations: 86.39 kB / 0.5664 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01413, allocations: 0 / 0.5664 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003275/0.01446, allocations: 0.8234 MB / 0.5672 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01446, allocations: 3.938 kB / 0.5672 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.0148, allocations: 330.9 kB / 0.5675 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.01481, allocations: 15.88 kB / 0.5675 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01484, allocations: 4 kB / 0.5675 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.01492, allocations: 19.92 kB / 0.5676 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.01495, allocations: 11.92 kB / 0.5676 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.01496, allocations: 4 kB / 0.5676 GB, free: 3.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.01501, allocations: 131.2 kB / 0.5677 GB, free: 3.031 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01501, allocations: 0 / 0.5677 GB, free: 3.031 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.0154, allocations: 139.5 kB / 0.5678 GB, free: 2.895 MB / 490.7 MB 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003931/0.01579, allocations: 246.7 kB / 0.5681 GB, free: 2.641 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.01611, allocations: 138.6 kB / 0.5682 GB, free: 2.504 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01611, allocations: 0 / 0.5682 GB, free: 2.504 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.01627, allocations: 90.84 kB / 0.5683 GB, free: 2.414 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.0165, allocations: 36.09 kB / 0.5683 GB, free: 2.379 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.01715, allocations: 318.5 kB / 0.5686 GB, free: 2.035 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.0172, allocations: 75.69 kB / 0.5687 GB, free: 1.941 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.01726, allocations: 16.53 kB / 0.5687 GB, free: 1.926 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.01738, allocations: 110.2 kB / 0.5688 GB, free: 1.816 MB / 490.7 MB Notification: Performance of SimCode: time 1.502e-06/0.01738, allocations: 0 / 0.5688 GB, free: 1.816 MB / 490.7 MB Notification: Performance of Templates: time 0.006907/0.02429, allocations: 5.059 MB / 0.5738 GB, free: 12.83 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6718250648118556]