Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001092/0.001092, allocations: 100.6 kB / 16.36 MB, free: 6.441 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.001106/0.001106, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8001/0.8001, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.03 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3472, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002804/0.35, allocations: 2.008 MB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3521, allocations: 1.658 MB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.3522, allocations: 2.281 kB / 0.5894 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.932e-05/0.3523, allocations: 22 kB / 0.5894 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.3524, allocations: 49.83 kB / 0.5894 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.3533, allocations: 360.1 kB / 0.5898 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3535, allocations: 216.3 kB / 0.59 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3536, allocations: 63.48 kB / 0.59 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.3537, allocations: 83.7 kB / 0.5901 GB, free: 22.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3538, allocations: 87.67 kB / 0.5902 GB, free: 22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3539, allocations: 20 kB / 0.5902 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.3544, allocations: 412.5 kB / 0.5906 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.3545, allocations: 35.91 kB / 0.5906 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.3545, allocations: 91.64 kB / 0.5907 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.355, allocations: 429.2 kB / 0.5911 GB, free: 21.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.355, allocations: 0.5312 kB / 0.5911 GB, free: 21.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.355, allocations: 3.938 kB / 0.5911 GB, free: 21.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.355, allocations: 0.5938 kB / 0.5911 GB, free: 21.03 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.0006191/0.3556, allocations: 0.5155 MB / 0.5916 GB, free: 20.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.3557, allocations: 13.11 kB / 0.5917 GB, free: 20.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/0.3562, allocations: 83.53 kB / 0.5917 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.3563, allocations: 185.4 kB / 0.5919 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.3563, allocations: 50.25 kB / 0.592 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3564, allocations: 16.38 kB / 0.592 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.3567, allocations: 189 kB / 0.5922 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3567, allocations: 0 / 0.5922 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3568, allocations: 8 kB / 0.5922 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3568, allocations: 4 kB / 0.5922 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.3571, allocations: 180.5 kB / 0.5923 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3582, allocations: 0.913 MB / 0.5932 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.3587, allocations: 177.1 kB / 0.5934 GB, free: 18.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3589, allocations: 78.45 kB / 0.5935 GB, free: 18.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/0.3594, allocations: 0.5211 MB / 0.594 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.3594, allocations: 34.56 kB / 0.594 GB, free: 17.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3594, allocations: 0 / 0.594 GB, free: 17.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005872/0.36, allocations: 238.9 kB / 0.5942 GB, free: 17.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.36, allocations: 55.41 kB / 0.5943 GB, free: 17.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.3601, allocations: 159.2 kB / 0.5945 GB, free: 17.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3602, allocations: 34.27 kB / 0.5945 GB, free: 17.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.3602, allocations: 116.2 kB / 0.5946 GB, free: 17.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3602, allocations: 47.39 kB / 0.5946 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.3603, allocations: 42.73 kB / 0.5947 GB, free: 17.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.3604, allocations: 327.5 kB / 0.595 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3605, allocations: 74.3 kB / 0.5951 GB, free: 16.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3607, allocations: 93.62 kB / 0.5952 GB, free: 16.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.361, allocations: 157.2 kB / 0.5953 GB, free: 16.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.361, allocations: 1.156 kB / 0.5953 GB, free: 16.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003951/0.3614, allocations: 211.1 kB / 0.5955 GB, free: 16.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3615, allocations: 4 kB / 0.5955 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3615, allocations: 0 / 0.5955 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3615, allocations: 5.312 kB / 0.5955 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3617, allocations: 39.91 kB / 0.5956 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3617, allocations: 0 / 0.5956 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3619, allocations: 25.42 kB / 0.5956 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3619, allocations: 4 kB / 0.5956 GB, free: 16.1 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 8.984e-05/0.362, allocations: 135.3 kB / 0.5957 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3621, allocations: 19.8 kB / 0.5957 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.3625, allocations: 188.6 kB / 0.5959 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3626, allocations: 0 / 0.5959 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3626, allocations: 2.312 kB / 0.5959 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3626, allocations: 3.984 kB / 0.5959 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.3637, allocations: 0.9799 MB / 0.5969 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3637, allocations: 5.25 kB / 0.5969 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3639, allocations: 31.91 kB / 0.5969 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3639, allocations: 1.094 kB / 0.5969 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3639, allocations: 8 kB / 0.5969 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3639, allocations: 0 / 0.5969 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3639, allocations: 9.656 kB / 0.5969 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.3643, allocations: 287 kB / 0.5972 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.3644, allocations: 92.91 kB / 0.5973 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3644, allocations: 5.062 kB / 0.5973 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3646, allocations: 16.52 kB / 0.5973 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3647, allocations: 20.61 kB / 0.5973 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3647, allocations: 8 kB / 0.5973 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.3647, allocations: 115.8 kB / 0.5974 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3647, allocations: 1.25 kB / 0.5974 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.3652, allocations: 127.9 kB / 0.5976 GB, free: 13.87 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.0003676/0.3655, allocations: 225 kB / 0.5978 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.366, allocations: 173.8 kB / 0.5979 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.366, allocations: 0 / 0.5979 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3662, allocations: 86.41 kB / 0.598 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3666, allocations: 53.09 kB / 0.5981 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.3672, allocations: 321 kB / 0.5984 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3673, allocations: 0.7163 MB / 0.5991 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.3674, allocations: 25.77 kB / 0.5991 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.3675, allocations: 27.36 kB / 0.5991 GB, free: 12.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3675, allocations: 0.5938 kB / 0.5991 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Templates: time 0.006207/0.3737, allocations: 4.258 MB / 0.6033 GB, free: 8.043 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)