Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002542/0.002541, allocations: 357.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.583/1.583, allocations: 165.8 MB / 182.5 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.883/3.883, allocations: 410.8 MB / 0.5995 GB, free: 15.05 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001766, allocations: 186.8 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 15.98 kB / 0.7423 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 67.44 MB / 0.8082 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001834/0.3702, allocations: 1.657 MB / 0.8098 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3723, allocations: 1.536 MB / 0.8113 GB, free: 25.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3725, allocations: 4 kB / 0.8113 GB, free: 25.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.3725, allocations: 15.91 kB / 0.8113 GB, free: 25.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.3727, allocations: 43.61 kB / 0.8113 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009508/0.3736, allocations: 263 kB / 0.8116 GB, free: 25.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3738, allocations: 203.1 kB / 0.8118 GB, free: 25.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.374, allocations: 45.64 kB / 0.8118 GB, free: 24.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.3741, allocations: 63.78 kB / 0.8119 GB, free: 24.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3742, allocations: 83.72 kB / 0.812 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.3742, allocations: 8 kB / 0.812 GB, free: 24.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007982/0.375, allocations: 371.4 kB / 0.8123 GB, free: 24.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.3751, allocations: 27.91 kB / 0.8124 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3752, allocations: 53.64 kB / 0.8124 GB, free: 24.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.3756, allocations: 317.4 kB / 0.8127 GB, free: 24.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.122e-06/0.3756, allocations: 0 / 0.8127 GB, free: 24.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.85e-06/0.3756, allocations: 0 / 0.8127 GB, free: 24.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.274e-06/0.3756, allocations: 0 / 0.8127 GB, free: 24.07 MB / 378.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.0008984/0.3765, allocations: 0.495 MB / 0.8132 GB, free: 23.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3766, allocations: 8.031 kB / 0.8132 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.3773, allocations: 95.8 kB / 0.8133 GB, free: 23.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3774, allocations: 178.9 kB / 0.8135 GB, free: 23.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.3775, allocations: 45.69 kB / 0.8135 GB, free: 23.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3776, allocations: 16 kB / 0.8135 GB, free: 23.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.378, allocations: 197.3 kB / 0.8137 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3781, allocations: 0 / 0.8137 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3781, allocations: 4 kB / 0.8137 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.172e-06/0.3781, allocations: 4 kB / 0.8137 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.3787, allocations: 191.9 kB / 0.8139 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3801, allocations: 0.9035 MB / 0.8148 GB, free: 21.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.3808, allocations: 186.5 kB / 0.815 GB, free: 21.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.381, allocations: 84.83 kB / 0.815 GB, free: 21.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.3817, allocations: 0.522 MB / 0.8155 GB, free: 20.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3817, allocations: 34.56 kB / 0.8156 GB, free: 20.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.644e-06/0.3817, allocations: 0 / 0.8156 GB, free: 20.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008752/0.3826, allocations: 247.4 kB / 0.8158 GB, free: 20.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3826, allocations: 55.41 kB / 0.8159 GB, free: 20.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3828, allocations: 158.5 kB / 0.816 GB, free: 20.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3828, allocations: 25.7 kB / 0.816 GB, free: 20.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.3829, allocations: 127.7 kB / 0.8162 GB, free: 20.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.383, allocations: 47.28 kB / 0.8162 GB, free: 20.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.383, allocations: 4 kB / 0.8162 GB, free: 20.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.3831, allocations: 326.8 kB / 0.8165 GB, free: 19.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.3833, allocations: 83.92 kB / 0.8166 GB, free: 19.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.3836, allocations: 100.9 kB / 0.8167 GB, free: 19.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.3839, allocations: 71.98 kB / 0.8168 GB, free: 19.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3839, allocations: 0 / 0.8168 GB, free: 19.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006262/0.3845, allocations: 221.4 kB / 0.817 GB, free: 19.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3846, allocations: 4 kB / 0.817 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3846, allocations: 0 / 0.817 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3846, allocations: 8.031 kB / 0.817 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.3849, allocations: 39.91 kB / 0.817 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.035e-06/0.385, allocations: 0 / 0.817 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.3852, allocations: 27.83 kB / 0.8171 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3852, allocations: 7.953 kB / 0.8171 GB, free: 19.19 MB / 378.7 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.3854, allocations: 129.8 kB / 0.8172 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.3854, allocations: 19.81 kB / 0.8172 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.3861, allocations: 203.7 kB / 0.8174 GB, free: 18.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.666e-06/0.3861, allocations: 4 kB / 0.8174 GB, free: 18.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.684e-06/0.3861, allocations: 4 kB / 0.8174 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-06/0.3861, allocations: 0 / 0.8174 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3877, allocations: 0.9932 MB / 0.8184 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.437e-06/0.3877, allocations: 0 / 0.8184 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.388, allocations: 31.98 kB / 0.8184 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.922e-06/0.388, allocations: 0 / 0.8184 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3881, allocations: 11.92 kB / 0.8184 GB, free: 17.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.151e-06/0.3881, allocations: 0 / 0.8184 GB, free: 17.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3881, allocations: 8.016 kB / 0.8184 GB, free: 17.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.3887, allocations: 293.1 kB / 0.8187 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.3888, allocations: 96.91 kB / 0.8188 GB, free: 17.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.3888, allocations: 4 kB / 0.8188 GB, free: 17.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.3891, allocations: 15.98 kB / 0.8188 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.3892, allocations: 11.94 kB / 0.8188 GB, free: 17.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.3892, allocations: 7.984 kB / 0.8188 GB, free: 17.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.3893, allocations: 126.6 kB / 0.819 GB, free: 17.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.3893, allocations: 4 kB / 0.819 GB, free: 17.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.3899, allocations: 131.8 kB / 0.8191 GB, free: 16.91 MB / 378.7 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 (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.0004719/0.3904, allocations: 227 kB / 0.8193 GB, free: 16.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005957/0.391, allocations: 181.8 kB / 0.8195 GB, free: 16.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.391, allocations: 0 / 0.8195 GB, free: 16.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.3913, allocations: 89.19 kB / 0.8196 GB, free: 16.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.3918, allocations: 41.33 kB / 0.8196 GB, free: 16.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.3926, allocations: 385.5 kB / 0.82 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.3927, allocations: 0.7089 MB / 0.8207 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.393, allocations: 36.98 kB / 0.8207 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.72e-05/0.3931, allocations: 27.42 kB / 0.8207 GB, free: 15.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.642e-06/0.3931, allocations: 0 / 0.8207 GB, free: 15.18 MB / 378.7 MB Notification: Performance of Templates: time 0.009316/0.4024, allocations: 4.05 MB / 0.8247 GB, free: 11.17 MB / 378.7 MB