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.001478/0.001478, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.00164/0.00164, allocations: 196 kB / 17.98 MB, free: 5.031 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.239/1.239, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6848/0.6848, allocations: 115.1 MB / 407 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.84 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3256, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002796/0.3284, allocations: 1.998 MB / 0.5595 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3304, allocations: 1.659 MB / 0.5611 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.3304, allocations: 1.625 kB / 0.5611 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.3305, allocations: 19.75 kB / 0.5612 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.3306, allocations: 48.33 kB / 0.5612 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.3315, allocations: 353.5 kB / 0.5615 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.3317, allocations: 224 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3319, allocations: 61.45 kB / 0.5618 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.332, allocations: 80.89 kB / 0.5619 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3322, allocations: 89.11 kB / 0.562 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.3322, allocations: 18.25 kB / 0.562 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.3329, allocations: 414.7 kB / 0.5624 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.333, allocations: 42.83 kB / 0.5624 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.3331, allocations: 84.91 kB / 0.5625 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.3337, allocations: 431.1 kB / 0.5629 GB, free: 33.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3337, allocations: 0.9375 kB / 0.5629 GB, free: 33.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3337, allocations: 0 / 0.5629 GB, free: 33.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3337, allocations: 0 / 0.5629 GB, free: 33.32 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.0007235/0.3344, allocations: 0.515 MB / 0.5634 GB, free: 32.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3345, allocations: 11.34 kB / 0.5634 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.335, allocations: 84.34 kB / 0.5635 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.3351, allocations: 183.2 kB / 0.5637 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.3351, allocations: 51.47 kB / 0.5637 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3352, allocations: 18.31 kB / 0.5638 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.3356, allocations: 190.7 kB / 0.5639 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3356, allocations: 6.188 kB / 0.564 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.3356, allocations: 5.094 kB / 0.564 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3356, allocations: 4.062 kB / 0.564 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.336, allocations: 179.7 kB / 0.5641 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3372, allocations: 0.9096 MB / 0.565 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.3377, allocations: 180.5 kB / 0.5652 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.3378, allocations: 77.16 kB / 0.5653 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.3384, allocations: 0.5218 MB / 0.5658 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.3384, allocations: 34.48 kB / 0.5658 GB, free: 30.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3384, allocations: 0 / 0.5658 GB, free: 30.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006117/0.339, allocations: 240.2 kB / 0.566 GB, free: 30.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3391, allocations: 54.47 kB / 0.5661 GB, free: 30.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3392, allocations: 158 kB / 0.5662 GB, free: 30.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3392, allocations: 31.7 kB / 0.5663 GB, free: 30.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.3393, allocations: 114 kB / 0.5664 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3393, allocations: 50.12 kB / 0.5664 GB, free: 30.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.3394, allocations: 40.3 kB / 0.5665 GB, free: 30.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.3394, allocations: 322.5 kB / 0.5668 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3396, allocations: 72.97 kB / 0.5668 GB, free: 30.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3398, allocations: 94.2 kB / 0.5669 GB, free: 30.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.3401, allocations: 151.4 kB / 0.5671 GB, free: 29.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3401, allocations: 3.938 kB / 0.5671 GB, free: 29.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004346/0.3406, allocations: 215.5 kB / 0.5673 GB, free: 29.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3406, allocations: 4.406 kB / 0.5673 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3406, allocations: 7.281 kB / 0.5673 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3406, allocations: 1.094 kB / 0.5673 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.3409, allocations: 40 kB / 0.5673 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3409, allocations: 5.875 kB / 0.5673 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3411, allocations: 24.98 kB / 0.5674 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3411, allocations: 7.078 kB / 0.5674 GB, free: 29.85 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 7.664e-05/0.3412, allocations: 124.6 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.3412, allocations: 16.48 kB / 0.5675 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.3417, allocations: 202.6 kB / 0.5677 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3417, allocations: 2.219 kB / 0.5677 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3417, allocations: 0 / 0.5677 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3417, allocations: 6.141 kB / 0.5677 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3429, allocations: 0.9825 MB / 0.5687 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3429, allocations: 2.656 kB / 0.5687 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.3431, allocations: 40.31 kB / 0.5687 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3431, allocations: 2.188 kB / 0.5687 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3432, allocations: 2.75 kB / 0.5687 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3432, allocations: 2.188 kB / 0.5687 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3432, allocations: 1.219 kB / 0.5687 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.3436, allocations: 287.3 kB / 0.569 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3436, allocations: 85.36 kB / 0.5691 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.3437, allocations: 7.125 kB / 0.5691 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3439, allocations: 18.11 kB / 0.5691 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3439, allocations: 13.95 kB / 0.5691 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3439, allocations: 7.906 kB / 0.5691 GB, free: 28.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.344, allocations: 120.7 kB / 0.5692 GB, free: 28.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.344, allocations: 2.031 kB / 0.5692 GB, free: 28.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.3445, allocations: 131.1 kB / 0.5694 GB, free: 28.28 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.0003737/0.3449, allocations: 221.6 kB / 0.5696 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.3453, allocations: 185.5 kB / 0.5697 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3454, allocations: 0 / 0.5697 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.3455, allocations: 83.06 kB / 0.5698 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3459, allocations: 41.28 kB / 0.5699 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.3465, allocations: 326.9 kB / 0.5702 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.3467, allocations: 0.7083 MB / 0.5709 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.3468, allocations: 30.44 kB / 0.5709 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.3469, allocations: 23.7 kB / 0.5709 GB, free: 27.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3469, allocations: 2.75 kB / 0.5709 GB, free: 27.14 MB / 446.1 MB Notification: Performance of Templates: time 0.008133/0.355, allocations: 4.263 MB / 0.5751 GB, free: 26.85 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)