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.001516/0.001516, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001527/0.001527, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8103/0.8103, allocations: 135.2 MB / 426.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.91 kB / 0.506 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3509, allocations: 80.92 MB / 0.5851 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002765/0.3537, allocations: 2.016 MB / 0.587 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3556, allocations: 1.656 MB / 0.5887 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.3557, allocations: 2.688 kB / 0.5887 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.3557, allocations: 19.14 kB / 0.5887 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/0.3558, allocations: 49.17 kB / 0.5887 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.3567, allocations: 348.9 kB / 0.5891 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3569, allocations: 222.5 kB / 0.5893 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.357, allocations: 55.38 kB / 0.5893 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.3571, allocations: 81.73 kB / 0.5894 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3572, allocations: 89.17 kB / 0.5895 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3573, allocations: 18.38 kB / 0.5895 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.3579, allocations: 397.3 kB / 0.5899 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.358, allocations: 42.33 kB / 0.5899 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.358, allocations: 85.72 kB / 0.59 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.3585, allocations: 434 kB / 0.5904 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3585, allocations: 0 / 0.5904 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3585, allocations: 4 kB / 0.5904 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3585, allocations: 0.6562 kB / 0.5904 GB, free: 21.02 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.0006417/0.3592, allocations: 0.5162 MB / 0.5909 GB, free: 20.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3592, allocations: 9.734 kB / 0.5909 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.3597, allocations: 84.12 kB / 0.591 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.3598, allocations: 188.1 kB / 0.5912 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.3599, allocations: 51.53 kB / 0.5912 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3599, allocations: 16.31 kB / 0.5913 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3603, allocations: 182.6 kB / 0.5914 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3603, allocations: 1.062 kB / 0.5914 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3603, allocations: 8 kB / 0.5914 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3603, allocations: 4 kB / 0.5914 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.3607, allocations: 185.1 kB / 0.5916 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3617, allocations: 0.9258 MB / 0.5925 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.3622, allocations: 174.7 kB / 0.5927 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.3623, allocations: 72.83 kB / 0.5928 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.3628, allocations: 0.524 MB / 0.5933 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3628, allocations: 39 kB / 0.5933 GB, free: 17.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3629, allocations: 1.469 kB / 0.5933 GB, free: 17.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006061/0.3635, allocations: 238.3 kB / 0.5935 GB, free: 17.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.3635, allocations: 51.41 kB / 0.5936 GB, free: 17.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.3636, allocations: 162.3 kB / 0.5937 GB, free: 17.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3636, allocations: 31.42 kB / 0.5938 GB, free: 17.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.3637, allocations: 123.7 kB / 0.5939 GB, free: 17.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.3637, allocations: 43.39 kB / 0.5939 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.3638, allocations: 42.67 kB / 0.594 GB, free: 17.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.3638, allocations: 326.8 kB / 0.5943 GB, free: 16.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.364, allocations: 72.64 kB / 0.5944 GB, free: 16.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3642, allocations: 105.6 kB / 0.5945 GB, free: 16.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.3645, allocations: 147.7 kB / 0.5946 GB, free: 16.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3645, allocations: 0 / 0.5946 GB, free: 16.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004479/0.365, allocations: 217 kB / 0.5948 GB, free: 16.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.365, allocations: 4 kB / 0.5948 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.365, allocations: 0.75 kB / 0.5948 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.365, allocations: 0 / 0.5948 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3653, allocations: 37.03 kB / 0.5948 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3653, allocations: 4 kB / 0.5948 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3654, allocations: 30.27 kB / 0.5949 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3655, allocations: 4 kB / 0.5949 GB, free: 16.07 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.674e-05/0.3655, allocations: 129.8 kB / 0.595 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3656, allocations: 11.81 kB / 0.595 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.366, allocations: 198.9 kB / 0.5952 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3661, allocations: 4 kB / 0.5952 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3661, allocations: 0 / 0.5952 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3661, allocations: 3.984 kB / 0.5952 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3672, allocations: 0.9818 MB / 0.5962 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3672, allocations: 0 / 0.5962 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3674, allocations: 31.97 kB / 0.5962 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3674, allocations: 5.156 kB / 0.5962 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3674, allocations: 8 kB / 0.5962 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3674, allocations: 0 / 0.5962 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3674, allocations: 7.875 kB / 0.5962 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.3678, allocations: 283 kB / 0.5965 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.3678, allocations: 95.22 kB / 0.5966 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.3679, allocations: 8 kB / 0.5966 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3681, allocations: 15.98 kB / 0.5966 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3681, allocations: 11.92 kB / 0.5966 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3681, allocations: 4.531 kB / 0.5966 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.3682, allocations: 124.9 kB / 0.5967 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3682, allocations: 0 / 0.5967 GB, free: 13.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.3686, allocations: 123.9 kB / 0.5969 GB, free: 13.86 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.0003611/0.369, allocations: 235.2 kB / 0.5971 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.3694, allocations: 180.5 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3694, allocations: 0.8438 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3696, allocations: 81.62 kB / 0.5973 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.37, allocations: 37.53 kB / 0.5974 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.3706, allocations: 344.5 kB / 0.5977 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3707, allocations: 0.7185 MB / 0.5984 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.3708, allocations: 19.44 kB / 0.5984 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3708, allocations: 5.312 kB / 0.5984 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Templates: time 0.004728/0.3755, allocations: 3.855 MB / 0.6022 GB, free: 8.387 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)