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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 109.3 kB / 16.64 MB, free: 6.812 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.001181/0.001181, allocations: 194 kB / 17.57 MB, free: 5.914 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.369/1.369, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7736/0.7736, allocations: 122.9 MB / 414.2 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 71.89 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4473, allocations: 77.91 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003704/0.451, allocations: 2.063 MB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.4535, allocations: 1.644 MB / 0.5709 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.4537, allocations: 2.781 kB / 0.571 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.4538, allocations: 12.8 kB / 0.571 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.4539, allocations: 45.73 kB / 0.571 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.4551, allocations: 313.4 kB / 0.5713 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.4553, allocations: 225.7 kB / 0.5715 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4555, allocations: 53 kB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.4557, allocations: 85.55 kB / 0.5717 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.4558, allocations: 91.72 kB / 0.5717 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.4559, allocations: 19.59 kB / 0.5718 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008897/0.4568, allocations: 407.6 kB / 0.5721 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.4568, allocations: 41.91 kB / 0.5722 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4569, allocations: 88.22 kB / 0.5723 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.4575, allocations: 320.8 kB / 0.5726 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4575, allocations: 2.641 kB / 0.5726 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4575, allocations: 0 / 0.5726 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.4575, allocations: 0.5 kB / 0.5726 GB, free: 29.46 MB / 446.1 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.0008721/0.4584, allocations: 0.5127 MB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4584, allocations: 11.09 kB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.459, allocations: 91.36 kB / 0.5732 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.4592, allocations: 173.1 kB / 0.5733 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.069e-05/0.4593, allocations: 52.31 kB / 0.5734 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.4593, allocations: 15.89 kB / 0.5734 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.4597, allocations: 181.1 kB / 0.5736 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4598, allocations: 5.25 kB / 0.5736 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4598, allocations: 5.375 kB / 0.5736 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4598, allocations: 4.031 kB / 0.5736 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.4603, allocations: 187.1 kB / 0.5738 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.4616, allocations: 0.9255 MB / 0.5747 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.4622, allocations: 172.4 kB / 0.5748 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4624, allocations: 81.42 kB / 0.5749 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/0.463, allocations: 0.5168 MB / 0.5754 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.463, allocations: 39.84 kB / 0.5755 GB, free: 27.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.463, allocations: 0 / 0.5755 GB, free: 27.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007185/0.4638, allocations: 231.2 kB / 0.5757 GB, free: 26.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4638, allocations: 55.34 kB / 0.5757 GB, free: 26.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.464, allocations: 163.3 kB / 0.5759 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.464, allocations: 26.89 kB / 0.5759 GB, free: 26.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.464, allocations: 118.8 kB / 0.576 GB, free: 26.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.4641, allocations: 55.28 kB / 0.5761 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.4642, allocations: 38.27 kB / 0.5761 GB, free: 26.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.4642, allocations: 327 kB / 0.5764 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.4644, allocations: 72.42 kB / 0.5765 GB, free: 26.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.4647, allocations: 93.45 kB / 0.5766 GB, free: 26.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.4651, allocations: 151.3 kB / 0.5767 GB, free: 26.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4651, allocations: 4.812 kB / 0.5767 GB, free: 26.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005095/0.4656, allocations: 212.5 kB / 0.5769 GB, free: 26.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4656, allocations: 4.359 kB / 0.5769 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4656, allocations: 1.375 kB / 0.5769 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4657, allocations: 1.312 kB / 0.5769 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.4659, allocations: 44.03 kB / 0.577 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4659, allocations: 1.188 kB / 0.577 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4661, allocations: 21.45 kB / 0.577 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.4662, allocations: 9.781 kB / 0.577 GB, free: 25.99 MB / 446.1 MB 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.0001008/0.4663, allocations: 130.6 kB / 0.5771 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.4663, allocations: 15.23 kB / 0.5772 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.4669, allocations: 202.1 kB / 0.5774 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4669, allocations: 2.812 kB / 0.5774 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4669, allocations: 0 / 0.5774 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4669, allocations: 1.766 kB / 0.5774 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.4682, allocations: 0.9786 MB / 0.5783 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4683, allocations: 1.125 kB / 0.5783 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4685, allocations: 37.33 kB / 0.5783 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4685, allocations: 2.984 kB / 0.5784 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.4685, allocations: 6.047 kB / 0.5784 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4685, allocations: 1.312 kB / 0.5784 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4685, allocations: 3.391 kB / 0.5784 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.469, allocations: 292.2 kB / 0.5786 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.4691, allocations: 94.88 kB / 0.5787 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.4691, allocations: 1.875 kB / 0.5787 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.4693, allocations: 19.81 kB / 0.5788 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4694, allocations: 17.81 kB / 0.5788 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.4694, allocations: 4.609 kB / 0.5788 GB, free: 24.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.4695, allocations: 120.1 kB / 0.5789 GB, free: 24.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4695, allocations: 0 / 0.5789 GB, free: 24.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006033/0.4701, allocations: 126.4 kB / 0.579 GB, free: 24.42 MB / 446.1 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 (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.0004679/0.4706, allocations: 228.1 kB / 0.5792 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004733/0.4711, allocations: 181.4 kB / 0.5794 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4711, allocations: 5.812 kB / 0.5794 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.4713, allocations: 87.66 kB / 0.5795 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.4718, allocations: 44.28 kB / 0.5795 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.4725, allocations: 390.8 kB / 0.5799 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.4726, allocations: 0.7118 MB / 0.5806 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.4727, allocations: 26.16 kB / 0.5806 GB, free: 23.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4728, allocations: 1.062 kB / 0.5806 GB, free: 23.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006828/0.4796, allocations: 3.85 MB / 0.5844 GB, free: 21.66 MB / 446.1 MB 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)