Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009863, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5679/0.5679, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 98.72 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.424e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3918, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5273, allocations: 108 MB / 0.6657 GB, free: 12.28 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5276, allocations: 87.94 kB / 0.6658 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02266/0.5503, allocations: 8.209 MB / 0.6738 GB, free: 3.984 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5504, allocations: 0 / 0.6738 GB, free: 3.984 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.5504, allocations: 4 kB / 0.6738 GB, free: 3.98 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.0008061/0.5512, allocations: 498 kB / 0.6743 GB, free: 3.445 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5512, allocations: 11.98 kB / 0.6743 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.5517, allocations: 95.72 kB / 0.6744 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.5519, allocations: 171.9 kB / 0.6746 GB, free: 3.133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.73e-05/0.552, allocations: 45.69 kB / 0.6746 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.552, allocations: 16 kB / 0.6746 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.5524, allocations: 165.9 kB / 0.6748 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5524, allocations: 3.953 kB / 0.6748 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.5524, allocations: 4 kB / 0.6748 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5524, allocations: 4 kB / 0.6748 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.5527, allocations: 148 kB / 0.6749 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.5542, allocations: 0.9422 MB / 0.6759 GB, free: 1.676 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.5544, allocations: 145.1 kB / 0.676 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.5545, allocations: 60.86 kB / 0.6761 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006798/0.5552, allocations: 0.5142 MB / 0.6766 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.5553, allocations: 34.56 kB / 0.6766 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.5553, allocations: 4 kB / 0.6766 GB, free: 0.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003578/0.5557, allocations: 149.7 kB / 0.6767 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.5557, allocations: 55.34 kB / 0.6768 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5559, allocations: 139.9 kB / 0.6769 GB, free: 444 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5559, allocations: 33.7 kB / 0.677 GB, free: 404 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.556, allocations: 115.8 kB / 0.6771 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.5561, allocations: 55.28 kB / 0.6771 GB, free: 228 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.5561, allocations: 4 kB / 0.6771 GB, free: 224 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5562, allocations: 326.8 kB / 0.6774 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.5564, allocations: 59.94 kB / 0.6775 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.5565, allocations: 81.66 kB / 0.6776 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.5566, allocations: 54.73 kB / 0.6776 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5566, allocations: 0 / 0.6776 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003122/0.5569, allocations: 193.4 kB / 0.6778 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.557, allocations: 8 kB / 0.6778 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.557, allocations: 0 / 0.6778 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.557, allocations: 4.031 kB / 0.6778 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.5573, allocations: 43.97 kB / 0.6779 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5573, allocations: 0 / 0.6779 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5575, allocations: 27.83 kB / 0.6779 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.5575, allocations: 4 kB / 0.6779 GB, free: 15.41 MB / 0.4948 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/0.5576, allocations: 112.9 kB / 0.678 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.5576, allocations: 16.84 kB / 0.678 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.558, allocations: 173.2 kB / 0.6782 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.558, allocations: 7.984 kB / 0.6782 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.558, allocations: 0 / 0.6782 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.558, allocations: 3.984 kB / 0.6782 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.5593, allocations: 0.9544 MB / 0.6791 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5593, allocations: 0 / 0.6791 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5595, allocations: 31.97 kB / 0.6792 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5595, allocations: 4 kB / 0.6792 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5595, allocations: 0 / 0.6792 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5595, allocations: 10.41 kB / 0.6792 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5595, allocations: 3.938 kB / 0.6792 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.5599, allocations: 286.5 kB / 0.6795 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.5599, allocations: 85.02 kB / 0.6795 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.56, allocations: 19.94 kB / 0.6796 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.5602, allocations: 11.98 kB / 0.6796 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.5602, allocations: 15.98 kB / 0.6796 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5603, allocations: 4 kB / 0.6796 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.61e-05/0.5603, allocations: 117.5 kB / 0.6797 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5604, allocations: 0 / 0.6797 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005292/0.5609, allocations: 143.7 kB / 0.6798 GB, free: 13.22 MB / 0.4948 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004632/0.5614, allocations: 234.9 kB / 0.6801 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.5617, allocations: 151.9 kB / 0.6802 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5617, allocations: 0 / 0.6802 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5618, allocations: 67.94 kB / 0.6803 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5621, allocations: 50.95 kB / 0.6803 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.5625, allocations: 183.6 kB / 0.6805 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.5628, allocations: 0.7168 MB / 0.6812 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.5629, allocations: 28.5 kB / 0.6812 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.563, allocations: 23.42 kB / 0.6812 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.563, allocations: 1.969 kB / 0.6812 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.007355/0.5704, allocations: 3.856 MB / 0.685 GB, free: 7.922 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)