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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001252/0.001252, allocations: 111.1 kB / 16.41 MB, free: 6.457 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.001266/0.001266, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.00251, allocations: 291.6 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 95.84 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4433, allocations: 86.97 MB / 0.767 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003114/0.4464, allocations: 2.004 MB / 0.769 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.4489, allocations: 1.674 MB / 0.7706 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.449, allocations: 0 / 0.7706 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.4491, allocations: 23.78 kB / 0.7707 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.422e-05/0.4491, allocations: 43.56 kB / 0.7707 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.4501, allocations: 366.8 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.4503, allocations: 215.2 kB / 0.7713 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.4504, allocations: 45.39 kB / 0.7713 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.4505, allocations: 75.78 kB / 0.7714 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.4507, allocations: 95.66 kB / 0.7715 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.4507, allocations: 16 kB / 0.7715 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.4515, allocations: 415.5 kB / 0.7719 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.4515, allocations: 47.89 kB / 0.7719 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.4516, allocations: 79.66 kB / 0.772 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.4522, allocations: 428.8 kB / 0.7724 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4522, allocations: 3.938 kB / 0.7724 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4522, allocations: 0 / 0.7724 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.4522, allocations: 0 / 0.7724 GB, free: 14.52 MB / 0.545 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.0008756/0.4531, allocations: 0.5218 MB / 0.7729 GB, free: 13.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.4531, allocations: 8.031 kB / 0.7729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/0.4537, allocations: 92.73 kB / 0.773 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4539, allocations: 184.1 kB / 0.7732 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.454, allocations: 46.27 kB / 0.7732 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.454, allocations: 16.31 kB / 0.7732 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.4544, allocations: 186.1 kB / 0.7734 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4544, allocations: 7.875 kB / 0.7734 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4545, allocations: 4 kB / 0.7734 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.4545, allocations: 11.98 kB / 0.7734 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.4549, allocations: 179.8 kB / 0.7736 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.4563, allocations: 0.9111 MB / 0.7745 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.4569, allocations: 170.5 kB / 0.7747 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.4571, allocations: 72.81 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007264/0.4578, allocations: 0.5181 MB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.4578, allocations: 34.56 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.4578, allocations: 0 / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007564/0.4586, allocations: 240.2 kB / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.4586, allocations: 55.41 kB / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4588, allocations: 158.3 kB / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4588, allocations: 29.7 kB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.4589, allocations: 119.9 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.459, allocations: 51.56 kB / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.459, allocations: 41.66 kB / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4592, allocations: 322.8 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.4594, allocations: 79.95 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4596, allocations: 92.42 kB / 0.7764 GB, free: 9.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.46, allocations: 141.9 kB / 0.7766 GB, free: 9.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.46, allocations: 7.938 kB / 0.7766 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005268/0.4605, allocations: 219.9 kB / 0.7768 GB, free: 9.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4606, allocations: 6.812 kB / 0.7768 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4606, allocations: 0 / 0.7768 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.4606, allocations: 4 kB / 0.7768 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.4609, allocations: 43.91 kB / 0.7768 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.4609, allocations: 0 / 0.7768 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.461, allocations: 23.91 kB / 0.7768 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4611, allocations: 8 kB / 0.7769 GB, free: 9.543 MB / 0.545 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.000123/0.4612, allocations: 132.1 kB / 0.777 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.4612, allocations: 15.91 kB / 0.777 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.4618, allocations: 198.4 kB / 0.7772 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.4618, allocations: 0 / 0.7772 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4618, allocations: 0 / 0.7772 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4618, allocations: 3.938 kB / 0.7772 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.4633, allocations: 0.9779 MB / 0.7781 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4633, allocations: 4 kB / 0.7781 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4635, allocations: 27.92 kB / 0.7782 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4635, allocations: 0 / 0.7782 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4635, allocations: 7.984 kB / 0.7782 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4635, allocations: 3.938 kB / 0.7782 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4635, allocations: 8.062 kB / 0.7782 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.464, allocations: 289 kB / 0.7785 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.4641, allocations: 92.95 kB / 0.7786 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.4641, allocations: 8 kB / 0.7786 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.4644, allocations: 19.91 kB / 0.7786 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.4644, allocations: 23.92 kB / 0.7786 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4644, allocations: 4 kB / 0.7786 GB, free: 7.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.267e-05/0.4645, allocations: 115.2 kB / 0.7787 GB, free: 7.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4645, allocations: 0 / 0.7787 GB, free: 7.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004491/0.465, allocations: 127.6 kB / 0.7788 GB, free: 7.293 MB / 0.545 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.0004189/0.4654, allocations: 230.7 kB / 0.7791 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.4659, allocations: 170.3 kB / 0.7792 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4659, allocations: 0 / 0.7792 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.4661, allocations: 75.89 kB / 0.7793 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.4665, allocations: 40.11 kB / 0.7793 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.4671, allocations: 320.5 kB / 0.7796 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4675, allocations: 0.7125 MB / 0.7803 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.4676, allocations: 36.02 kB / 0.7804 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.4677, allocations: 23.42 kB / 0.7804 GB, free: 5.641 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.4677, allocations: 0 / 0.7804 GB, free: 5.641 MB / 0.545 GB Notification: Performance of Templates: time 0.008442/0.4761, allocations: 4.293 MB / 0.7846 GB, free: 1.402 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)