Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001841/0.001841, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 472.6 MB / 0.7447 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001508, allocations: 66.45 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.358, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003463/0.3615, allocations: 2.081 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.3642, allocations: 1.749 MB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.3642, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.3643, allocations: 15.84 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3645, allocations: 39.69 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.3653, allocations: 295.2 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3655, allocations: 207.2 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3657, allocations: 49.41 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3658, allocations: 75.77 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.3659, allocations: 87.67 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3659, allocations: 8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.3667, allocations: 387.5 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.3668, allocations: 35.89 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.3669, allocations: 87.66 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.3674, allocations: 423.2 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3674, allocations: 4 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3674, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3675, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 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.0008712/0.3683, allocations: 0.512 MB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3684, allocations: 11.97 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.369, allocations: 92.64 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3691, allocations: 180.1 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.3692, allocations: 54.25 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3693, allocations: 12.38 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.3697, allocations: 178 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3697, allocations: 3.938 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3697, allocations: 8 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3698, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.3702, allocations: 183.9 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.3717, allocations: 0.9225 MB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.3722, allocations: 174.5 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.3724, allocations: 72.83 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/0.3731, allocations: 0.522 MB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3731, allocations: 34.56 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3731, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007359/0.3739, allocations: 245.6 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.3739, allocations: 51.41 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3741, allocations: 165.3 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3741, allocations: 25.7 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.3742, allocations: 119.8 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.3742, allocations: 47.34 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.3743, allocations: 37.7 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3745, allocations: 326.8 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3747, allocations: 71.97 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.3749, allocations: 97.66 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3753, allocations: 151.5 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3753, allocations: 7.938 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005294/0.3758, allocations: 210.6 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3759, allocations: 4 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3759, allocations: 0 / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3759, allocations: 0 / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3762, allocations: 39.97 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3762, allocations: 4 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3764, allocations: 27.8 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3764, allocations: 11.98 kB / 1.077 GB, free: 456 kB / 0.8262 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.0001209/0.3765, allocations: 129.7 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.3766, allocations: 11.81 kB / 1.077 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.3771, allocations: 197.8 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3771, allocations: 8 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3772, allocations: 0 / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3772, allocations: 0 / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3787, allocations: 0.9894 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3787, allocations: 3.938 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3789, allocations: 31.97 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3789, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3789, allocations: 8 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3789, allocations: 3.984 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3789, allocations: 4.062 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.3794, allocations: 281 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3795, allocations: 96.94 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.3795, allocations: 4 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3798, allocations: 19.98 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3798, allocations: 11.92 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3799, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.53e-05/0.38, allocations: 123.2 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 0 / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004687/0.3804, allocations: 131.8 kB / 1.079 GB, free: 14.2 MB / 0.8419 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.0004719/0.3809, allocations: 227 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.3814, allocations: 185.7 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3814, allocations: 0 / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.3816, allocations: 79.91 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.3821, allocations: 40.16 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.3829, allocations: 362.2 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3832, allocations: 0.7128 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.3833, allocations: 32.66 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.3834, allocations: 19.44 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3834, allocations: 0 / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of Templates: time 0.008059/0.3915, allocations: 4.148 MB / 1.085 GB, free: 8.387 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)