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.008906/0.008906, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001851/0.001851, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 0.5814 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4487, allocations: 80.2 MB / 0.6597 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002734/0.4515, allocations: 2.009 MB / 0.6616 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.4536, allocations: 1.675 MB / 0.6633 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.4537, allocations: 1.344 kB / 0.6633 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.939e-05/0.4537, allocations: 22.56 kB / 0.6633 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.4538, allocations: 48.58 kB / 0.6633 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.4546, allocations: 359 kB / 0.6637 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.4548, allocations: 216.6 kB / 0.6639 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.455, allocations: 49.06 kB / 0.6639 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.4551, allocations: 77.12 kB / 0.664 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.4552, allocations: 88.42 kB / 0.6641 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.4552, allocations: 21.73 kB / 0.6641 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007236/0.456, allocations: 412.9 kB / 0.6645 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.456, allocations: 41.41 kB / 0.6645 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.4561, allocations: 89.23 kB / 0.6646 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.4566, allocations: 426.1 kB / 0.665 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4566, allocations: 1.312 kB / 0.665 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4566, allocations: 4 kB / 0.665 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.4567, allocations: 0 / 0.665 GB, free: 6.824 MB / 0.4981 GB 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.0006924/0.4574, allocations: 0.5145 MB / 0.6655 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4574, allocations: 10.03 kB / 0.6656 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/0.4579, allocations: 89.89 kB / 0.6656 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.458, allocations: 185 kB / 0.6658 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.33e-05/0.4581, allocations: 47.39 kB / 0.6659 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.4581, allocations: 17.03 kB / 0.6659 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.4585, allocations: 186.6 kB / 0.6661 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4585, allocations: 0 / 0.6661 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.4586, allocations: 9.031 kB / 0.6661 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4586, allocations: 7.938 kB / 0.6661 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.459, allocations: 182.8 kB / 0.6662 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.4601, allocations: 0.9167 MB / 0.6671 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.4605, allocations: 166.3 kB / 0.6673 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4607, allocations: 89.81 kB / 0.6674 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.4612, allocations: 0.5166 MB / 0.6679 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.4612, allocations: 31.94 kB / 0.6679 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4612, allocations: 0 / 0.6679 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006116/0.4619, allocations: 236.1 kB / 0.6681 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.4619, allocations: 56.81 kB / 0.6682 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.462, allocations: 157.2 kB / 0.6684 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.462, allocations: 30.7 kB / 0.6684 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.4621, allocations: 113.6 kB / 0.6685 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4621, allocations: 53.11 kB / 0.6685 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.4622, allocations: 43.36 kB / 0.6686 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.4622, allocations: 325.2 kB / 0.6689 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.4624, allocations: 77.83 kB / 0.669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.4626, allocations: 100.2 kB / 0.6691 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.4629, allocations: 145.8 kB / 0.6692 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.463, allocations: 1.125 kB / 0.6692 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004288/0.4634, allocations: 222 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4634, allocations: 6.75 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4634, allocations: 1.188 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4634, allocations: 5.5 kB / 0.6694 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4637, allocations: 36.25 kB / 0.6695 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4637, allocations: 5.281 kB / 0.6695 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4639, allocations: 24.52 kB / 0.6695 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4639, allocations: 4.188 kB / 0.6695 GB, free: 2.91 MB / 0.4981 GB 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.985e-05/0.464, allocations: 124.7 kB / 0.6696 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.464, allocations: 11.66 kB / 0.6696 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.4645, allocations: 205.3 kB / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4645, allocations: 1.625 kB / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4645, allocations: 0 / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4645, allocations: 1.594 kB / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.4656, allocations: 0.9808 MB / 0.6708 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4656, allocations: 1.188 kB / 0.6708 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.4658, allocations: 30.36 kB / 0.6708 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4658, allocations: 1.375 kB / 0.6708 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4659, allocations: 9.203 kB / 0.6708 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4659, allocations: 8.969 kB / 0.6708 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4659, allocations: 1.469 kB / 0.6708 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.4663, allocations: 293.6 kB / 0.6711 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.4663, allocations: 84.8 kB / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4664, allocations: 2.531 kB / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.4666, allocations: 23.09 kB / 0.6712 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.4666, allocations: 9.734 kB / 0.6712 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4666, allocations: 8.594 kB / 0.6712 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.4667, allocations: 124.3 kB / 0.6714 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4667, allocations: 3.938 kB / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000445/0.4672, allocations: 130.9 kB / 0.6715 GB, free: 1.137 MB / 0.4981 GB 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.0004004/0.4676, allocations: 232.6 kB / 0.6717 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.4681, allocations: 170 kB / 0.6719 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4681, allocations: 0 / 0.6719 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.4683, allocations: 88.69 kB / 0.6719 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.4687, allocations: 43.72 kB / 0.672 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.4693, allocations: 318 kB / 0.6723 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4696, allocations: 0.7054 MB / 0.673 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00013/0.4697, allocations: 31.5 kB / 0.673 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.4698, allocations: 25.45 kB / 0.673 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.4698, allocations: 0 / 0.673 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.008904/0.4787, allocations: 4.272 MB / 0.6772 GB, free: 13.74 MB / 0.5137 GB 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)