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.00122/0.00122, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001302/0.001302, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.72 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3258, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003318/0.3291, allocations: 2.077 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3318, allocations: 1.659 MB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.3319, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.827e-05/0.332, allocations: 19.84 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3321, allocations: 39.67 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3333, allocations: 319.2 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3336, allocations: 219.1 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3338, allocations: 61.23 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3339, allocations: 79.78 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3341, allocations: 91.72 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.3341, allocations: 16 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009171/0.3351, allocations: 411.5 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3351, allocations: 39.84 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3352, allocations: 91.64 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.3359, allocations: 435.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3359, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3359, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3359, allocations: 0 / 1.073 GB, free: 5.242 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.0008604/0.3368, allocations: 0.5108 MB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3368, allocations: 8.031 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.3374, allocations: 92.64 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3376, allocations: 180.2 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.3377, allocations: 46.27 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.3377, allocations: 20.31 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.3382, allocations: 182 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3382, allocations: 7.938 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.3382, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3383, allocations: 4 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.3387, allocations: 179.9 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3403, allocations: 0.915 MB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.3409, allocations: 174.5 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3411, allocations: 76.81 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.3418, allocations: 0.522 MB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3418, allocations: 42.5 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.3419, allocations: 0 / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.000732/0.3426, allocations: 237.2 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3426, allocations: 59.41 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3428, allocations: 161.3 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.3429, allocations: 29.7 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.343, allocations: 115.8 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.343, allocations: 51.3 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.3431, allocations: 33.7 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3433, allocations: 326.8 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.3435, allocations: 75.95 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.3437, allocations: 95.33 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.3441, allocations: 152 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3441, allocations: 3.938 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004768/0.3446, allocations: 221.4 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3446, allocations: 4 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3447, allocations: 0 / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3447, allocations: 4 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3449, allocations: 35.97 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.3449, allocations: 3.984 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3451, allocations: 27.8 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3452, allocations: 8 kB / 1.078 GB, free: 276 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.0001204/0.3453, allocations: 129.7 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3453, allocations: 15.81 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.3459, allocations: 198.4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3459, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3459, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3459, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3474, allocations: 0.9895 MB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3474, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3476, allocations: 31.97 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3476, allocations: 3.938 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3477, allocations: 8 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3477, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3477, allocations: 3.938 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.3482, allocations: 285.1 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.3483, allocations: 92.95 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3483, allocations: 0 / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.3486, allocations: 23.97 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.3486, allocations: 11.92 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3486, allocations: 4 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.585e-05/0.3487, allocations: 121.5 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3487, allocations: 0 / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000503/0.3493, allocations: 135.8 kB / 1.08 GB, free: 14.02 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.0004728/0.3497, allocations: 229.2 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.3502, allocations: 181.6 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3502, allocations: 4.062 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3504, allocations: 83.89 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3509, allocations: 45.5 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.3516, allocations: 364.7 kB / 1.08 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3519, allocations: 0.7047 MB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.352, allocations: 28.92 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.3521, allocations: 27.42 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3521, allocations: 0 / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of Templates: time 0.008516/0.3606, allocations: 4.255 MB / 1.085 GB, free: 8.102 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)