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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4527/0.4527, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 94.61 kB / 420 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 52.06 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2919, allocations: 70.06 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003309/0.2953, allocations: 2.062 MB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2973, allocations: 1.727 MB / 0.5612 GB, free: 41.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.2974, allocations: 4 kB / 0.5612 GB, free: 41.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.902e-05/0.2975, allocations: 15.84 kB / 0.5612 GB, free: 41.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.2976, allocations: 43.69 kB / 0.5613 GB, free: 41.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.2984, allocations: 293.7 kB / 0.5615 GB, free: 41.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.2986, allocations: 227 kB / 0.5618 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2987, allocations: 41.47 kB / 0.5618 GB, free: 40.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.2988, allocations: 67.84 kB / 0.5619 GB, free: 40.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2989, allocations: 87.66 kB / 0.5619 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.2989, allocations: 12 kB / 0.562 GB, free: 40.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000604/0.2996, allocations: 391.5 kB / 0.5623 GB, free: 40.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.2996, allocations: 39.89 kB / 0.5624 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.2997, allocations: 79.66 kB / 0.5624 GB, free: 40.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3001, allocations: 425 kB / 0.5628 GB, free: 39.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3001, allocations: 0 / 0.5628 GB, free: 39.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3002, allocations: 0 / 0.5628 GB, free: 39.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3002, allocations: 3.938 kB / 0.5628 GB, free: 39.72 MB / 410.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.0006858/0.3009, allocations: 0.5147 MB / 0.5634 GB, free: 39.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3009, allocations: 8.031 kB / 0.5634 GB, free: 39.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.3014, allocations: 96.64 kB / 0.5635 GB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.3015, allocations: 176.2 kB / 0.5636 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.3016, allocations: 46.25 kB / 0.5637 GB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3016, allocations: 16.38 kB / 0.5637 GB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.302, allocations: 183.5 kB / 0.5639 GB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.302, allocations: 3.938 kB / 0.5639 GB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3021, allocations: 4 kB / 0.5639 GB, free: 38.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3021, allocations: 4 kB / 0.5639 GB, free: 38.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.3025, allocations: 187.9 kB / 0.564 GB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.3036, allocations: 0.9265 MB / 0.5649 GB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.304, allocations: 170.5 kB / 0.5651 GB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3042, allocations: 76.83 kB / 0.5652 GB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/0.3047, allocations: 0.5181 MB / 0.5657 GB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3047, allocations: 34.56 kB / 0.5657 GB, free: 36.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3048, allocations: 3.938 kB / 0.5657 GB, free: 36.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006328/0.3054, allocations: 237.8 kB / 0.566 GB, free: 36.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.3054, allocations: 55.41 kB / 0.566 GB, free: 36.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3056, allocations: 152.9 kB / 0.5662 GB, free: 35.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3056, allocations: 33.7 kB / 0.5662 GB, free: 35.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.3056, allocations: 119.7 kB / 0.5663 GB, free: 35.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.3057, allocations: 51.28 kB / 0.5663 GB, free: 35.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.3057, allocations: 37.7 kB / 0.5664 GB, free: 35.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.3058, allocations: 330.8 kB / 0.5667 GB, free: 35.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.306, allocations: 75.91 kB / 0.5668 GB, free: 35.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3062, allocations: 96.06 kB / 0.5669 GB, free: 35.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.3065, allocations: 148.2 kB / 0.567 GB, free: 35.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3065, allocations: 3.938 kB / 0.567 GB, free: 35.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000404/0.3069, allocations: 213.4 kB / 0.5672 GB, free: 34.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3069, allocations: 6.031 kB / 0.5672 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3069, allocations: 0 / 0.5672 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.307, allocations: 4 kB / 0.5672 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3072, allocations: 40 kB / 0.5673 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3072, allocations: 0 / 0.5673 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3074, allocations: 27.73 kB / 0.5673 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3074, allocations: 7.984 kB / 0.5673 GB, free: 34.75 MB / 410.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 (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 8.537e-05/0.3075, allocations: 133.7 kB / 0.5674 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3075, allocations: 15.84 kB / 0.5674 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.308, allocations: 199.3 kB / 0.5676 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.308, allocations: 0 / 0.5676 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.308, allocations: 0 / 0.5676 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.308, allocations: 0 / 0.5676 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.3091, allocations: 0.9855 MB / 0.5686 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3091, allocations: 0 / 0.5686 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.3093, allocations: 31.97 kB / 0.5686 GB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3093, allocations: 0 / 0.5686 GB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3093, allocations: 8.062 kB / 0.5686 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3094, allocations: 0 / 0.5686 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3094, allocations: 0 / 0.5686 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.3101, allocations: 0.9426 MB / 0.5695 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.3102, allocations: 88.92 kB / 0.5696 GB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3102, allocations: 3.938 kB / 0.5696 GB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3104, allocations: 19.97 kB / 0.5697 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.3105, allocations: 11.98 kB / 0.5697 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3105, allocations: 8 kB / 0.5697 GB, free: 32.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.217e-05/0.3105, allocations: 122.1 kB / 0.5698 GB, free: 31.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3106, allocations: 0 / 0.5698 GB, free: 31.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005071/0.3111, allocations: 127.9 kB / 0.5699 GB, free: 31.82 MB / 410.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 (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.0003708/0.3114, allocations: 227 kB / 0.5701 GB, free: 31.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.3119, allocations: 171.8 kB / 0.5703 GB, free: 31.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3119, allocations: 4 kB / 0.5703 GB, free: 31.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3121, allocations: 80.03 kB / 0.5704 GB, free: 31.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3125, allocations: 51.84 kB / 0.5704 GB, free: 31.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.3131, allocations: 0.5011 MB / 0.5709 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3132, allocations: 0.7128 MB / 0.5716 GB, free: 30 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3134, allocations: 27.8 kB / 0.5716 GB, free: 29.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3134, allocations: 15.44 kB / 0.5716 GB, free: 29.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3134, allocations: 0 / 0.5716 GB, free: 29.96 MB / 410.7 MB Notification: Performance of Templates: time 0.005986/0.3194, allocations: 4.224 MB / 0.5758 GB, free: 25.77 MB / 410.7 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)