Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009748/0.0009749, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008052/0.0008053, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7329/0.7329, allocations: 132.4 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3511, allocations: 81.58 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001734/0.3529, allocations: 1.68 MB / 0.5847 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3548, allocations: 1.547 MB / 0.5862 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.3548, allocations: 5.625 kB / 0.5862 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.3549, allocations: 10.2 kB / 0.5862 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.355, allocations: 45.86 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.3557, allocations: 268.5 kB / 0.5865 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3559, allocations: 201.4 kB / 0.5867 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.356, allocations: 40.69 kB / 0.5868 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.3561, allocations: 71.67 kB / 0.5868 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.3563, allocations: 82.19 kB / 0.5869 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3563, allocations: 10.06 kB / 0.5869 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.357, allocations: 374.4 kB / 0.5873 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.3571, allocations: 34.06 kB / 0.5873 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.3571, allocations: 51.61 kB / 0.5874 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.3576, allocations: 312.2 kB / 0.5877 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3576, allocations: 4.797 kB / 0.5877 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3576, allocations: 0 / 0.5877 GB, free: 1.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.3576, allocations: 0 / 0.5877 GB, free: 1.133 MB / 430.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.0006248/0.3582, allocations: 0.492 MB / 0.5882 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.3583, allocations: 9.031 kB / 0.5882 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005351/0.3588, allocations: 100.1 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.345e-05/0.3589, allocations: 192.4 kB / 0.5884 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.359, allocations: 45.59 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.359, allocations: 18.06 kB / 0.5885 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.3594, allocations: 177.6 kB / 0.5887 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3594, allocations: 0 / 0.5887 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3595, allocations: 6.594 kB / 0.5887 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3595, allocations: 3.969 kB / 0.5887 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.3599, allocations: 193.5 kB / 0.5889 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3612, allocations: 0.9072 MB / 0.5897 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.3617, allocations: 182 kB / 0.5899 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.3619, allocations: 82.19 kB / 0.59 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.3625, allocations: 0.5276 MB / 0.5905 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3626, allocations: 36.73 kB / 0.5906 GB, free: 14.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3626, allocations: 0 / 0.5906 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006963/0.3633, allocations: 252.6 kB / 0.5908 GB, free: 14.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3633, allocations: 53.98 kB / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3634, allocations: 155.9 kB / 0.591 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3635, allocations: 30.36 kB / 0.591 GB, free: 14.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.3636, allocations: 126.5 kB / 0.5911 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.3636, allocations: 49.34 kB / 0.5912 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.3636, allocations: 5.062 kB / 0.5912 GB, free: 14.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.3637, allocations: 326.2 kB / 0.5915 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3639, allocations: 79.44 kB / 0.5916 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3642, allocations: 100.1 kB / 0.5917 GB, free: 13.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3644, allocations: 73.02 kB / 0.5917 GB, free: 13.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3644, allocations: 1.438 kB / 0.5917 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004972/0.3649, allocations: 222.7 kB / 0.592 GB, free: 13.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3649, allocations: 5.25 kB / 0.592 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3649, allocations: 1.031 kB / 0.592 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3649, allocations: 2.109 kB / 0.592 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3652, allocations: 41.33 kB / 0.592 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3652, allocations: 0.5938 kB / 0.592 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.3654, allocations: 35.36 kB / 0.592 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3654, allocations: 9.062 kB / 0.592 GB, free: 13.69 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 ($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.0001012/0.3655, allocations: 122.7 kB / 0.5922 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.3656, allocations: 15.83 kB / 0.5922 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.3661, allocations: 210 kB / 0.5924 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3661, allocations: 1.781 kB / 0.5924 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3661, allocations: 1.156 kB / 0.5924 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3661, allocations: 0.8906 kB / 0.5924 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3675, allocations: 0.9895 MB / 0.5934 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3676, allocations: 1.094 kB / 0.5934 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3678, allocations: 42.77 kB / 0.5934 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3678, allocations: 1.125 kB / 0.5934 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3678, allocations: 2.578 kB / 0.5934 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3678, allocations: 1.875 kB / 0.5934 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3678, allocations: 1.5 kB / 0.5934 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.3683, allocations: 301 kB / 0.5937 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.3684, allocations: 92.39 kB / 0.5938 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3684, allocations: 7 kB / 0.5938 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3687, allocations: 23.11 kB / 0.5938 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.3687, allocations: 10.28 kB / 0.5938 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3687, allocations: 4.578 kB / 0.5938 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.3688, allocations: 120 kB / 0.5939 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3688, allocations: 0 / 0.5939 GB, free: 12.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.3693, allocations: 122.9 kB / 0.5941 GB, free: 12.11 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 (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.0004447/0.3698, allocations: 230.8 kB / 0.5943 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.3703, allocations: 186.5 kB / 0.5944 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3703, allocations: 0 / 0.5944 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.3705, allocations: 86.92 kB / 0.5945 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.371, allocations: 46.78 kB / 0.5946 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.3716, allocations: 376.7 kB / 0.5949 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3719, allocations: 0.7115 MB / 0.5956 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.3721, allocations: 39.56 kB / 0.5957 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.3721, allocations: 19.41 kB / 0.5957 GB, free: 10.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3721, allocations: 0 / 0.5957 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Templates: time 0.007483/0.3796, allocations: 4.052 MB / 0.5996 GB, free: 9.461 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)