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.004966/0.004966, allocations: 114.3 kB / 15.71 MB, free: 6.047 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.001103/0.001103, allocations: 190.7 kB / 16.64 MB, free: 5.98 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.297/1.297, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 281.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.903/0.903, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 95.84 kB / 0.6814 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4298, allocations: 86.97 MB / 0.7663 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002739/0.4326, allocations: 2.007 MB / 0.7683 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.4348, allocations: 1.663 MB / 0.7699 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.4348, allocations: 4 kB / 0.7699 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.4349, allocations: 19.78 kB / 0.7699 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.435, allocations: 47.5 kB / 0.77 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.4358, allocations: 358.8 kB / 0.7703 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.436, allocations: 223.1 kB / 0.7705 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4361, allocations: 57.11 kB / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4362, allocations: 79.77 kB / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.4364, allocations: 87.67 kB / 0.7707 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.4364, allocations: 24 kB / 0.7708 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006593/0.4371, allocations: 415.5 kB / 0.7712 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.4371, allocations: 35.91 kB / 0.7712 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.4372, allocations: 91.59 kB / 0.7713 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.4377, allocations: 421.5 kB / 0.7717 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4377, allocations: 0 / 0.7717 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4377, allocations: 0 / 0.7717 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.4378, allocations: 0 / 0.7717 GB, free: 14.43 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.000737/0.4385, allocations: 0.5187 MB / 0.7722 GB, free: 13.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4385, allocations: 15.97 kB / 0.7722 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.4391, allocations: 88.64 kB / 0.7723 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4392, allocations: 176.2 kB / 0.7725 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.4393, allocations: 50.25 kB / 0.7725 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.4393, allocations: 16.38 kB / 0.7725 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.4397, allocations: 182.1 kB / 0.7727 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4397, allocations: 7.875 kB / 0.7727 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4397, allocations: 12 kB / 0.7727 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4398, allocations: 4 kB / 0.7727 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.4402, allocations: 183.8 kB / 0.7729 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.4414, allocations: 0.9034 MB / 0.7738 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.4419, allocations: 174.4 kB / 0.7739 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4421, allocations: 76.83 kB / 0.774 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005787/0.4427, allocations: 0.522 MB / 0.7745 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4427, allocations: 42.55 kB / 0.7746 GB, free: 11.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.4427, allocations: 0 / 0.7746 GB, free: 11.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006639/0.4434, allocations: 232.5 kB / 0.7748 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4434, allocations: 59.34 kB / 0.7748 GB, free: 10.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4435, allocations: 157.5 kB / 0.775 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.4436, allocations: 29.7 kB / 0.775 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.4436, allocations: 123.7 kB / 0.7751 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.4437, allocations: 47.36 kB / 0.7752 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.4438, allocations: 37.66 kB / 0.7752 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.4439, allocations: 330.8 kB / 0.7755 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4441, allocations: 71.95 kB / 0.7756 GB, free: 10.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.4443, allocations: 92.42 kB / 0.7757 GB, free: 9.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.4446, allocations: 153.9 kB / 0.7758 GB, free: 9.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4447, allocations: 3.938 kB / 0.7758 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004768/0.4451, allocations: 215.7 kB / 0.7761 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4452, allocations: 4 kB / 0.7761 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4452, allocations: 3.984 kB / 0.7761 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4452, allocations: 4 kB / 0.7761 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.4454, allocations: 43.95 kB / 0.7761 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4455, allocations: 3.984 kB / 0.7761 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4456, allocations: 19.83 kB / 0.7761 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4457, allocations: 8 kB / 0.7761 GB, free: 9.453 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 9.818e-05/0.4458, allocations: 128.2 kB / 0.7763 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.4458, allocations: 15.81 kB / 0.7763 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.4463, allocations: 198.4 kB / 0.7765 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4463, allocations: 0 / 0.7765 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4463, allocations: 0 / 0.7765 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4463, allocations: 0 / 0.7765 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4476, allocations: 0.9817 MB / 0.7774 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4477, allocations: 7.984 kB / 0.7774 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4479, allocations: 27.92 kB / 0.7775 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4479, allocations: 0 / 0.7775 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4479, allocations: 16 kB / 0.7775 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4479, allocations: 3.984 kB / 0.7775 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4479, allocations: 4 kB / 0.7775 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.4484, allocations: 281 kB / 0.7777 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.4484, allocations: 96.92 kB / 0.7778 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.4485, allocations: 4 kB / 0.7778 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.4487, allocations: 15.98 kB / 0.7779 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.4487, allocations: 19.86 kB / 0.7779 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4487, allocations: 7.984 kB / 0.7779 GB, free: 7.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.4488, allocations: 117.3 kB / 0.778 GB, free: 7.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4488, allocations: 0 / 0.778 GB, free: 7.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004018/0.4492, allocations: 131.9 kB / 0.7781 GB, free: 7.207 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.0003869/0.4496, allocations: 227 kB / 0.7783 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.4501, allocations: 175.8 kB / 0.7785 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4501, allocations: 0 / 0.7785 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.4503, allocations: 79.91 kB / 0.7786 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.4507, allocations: 44.14 kB / 0.7786 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.4513, allocations: 328.8 kB / 0.7789 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.4515, allocations: 0.7047 MB / 0.7796 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.4517, allocations: 33.91 kB / 0.7797 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.4517, allocations: 15.44 kB / 0.7797 GB, free: 5.555 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4518, allocations: 4 kB / 0.7797 GB, free: 5.551 MB / 0.545 GB Notification: Performance of Templates: time 0.007098/0.4589, allocations: 4.275 MB / 0.7839 GB, free: 1.336 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)