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/Complex 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.5 MB / 395.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008536/0.0008536, allocations: 100.8 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.049e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5741/0.5742, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.7429, allocations: 117.2 MB / 0.7483 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.7432, allocations: 79.95 kB / 0.7484 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02424/0.7675, allocations: 8.162 MB / 0.7564 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7675, allocations: 4 kB / 0.7564 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.7675, allocations: 0 / 0.7564 GB, free: 13.23 MB / 0.5417 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.0009797/0.7685, allocations: 494.1 kB / 0.7569 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7686, allocations: 12.03 kB / 0.7569 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/0.7691, allocations: 96.38 kB / 0.757 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.7693, allocations: 178.9 kB / 0.7571 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.7694, allocations: 37.7 kB / 0.7572 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.7695, allocations: 8 kB / 0.7572 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002967/0.7698, allocations: 151.8 kB / 0.7573 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.77, allocations: 141.6 kB / 0.7575 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7701, allocations: 0 / 0.7575 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.7701, allocations: 0 / 0.7575 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.7701, allocations: 4 kB / 0.7575 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.7716, allocations: 0.9 MB / 0.7583 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.7718, allocations: 118.6 kB / 0.7585 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.772, allocations: 72.84 kB / 0.7585 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.7727, allocations: 0.5103 MB / 0.759 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.7727, allocations: 38.55 kB / 0.7591 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.7727, allocations: 0 / 0.7591 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001329/0.7741, allocations: 261.3 kB / 0.7593 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.7741, allocations: 51.41 kB / 0.7594 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.7742, allocations: 120.6 kB / 0.7595 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.7743, allocations: 29.7 kB / 0.7595 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.7743, allocations: 120.1 kB / 0.7596 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.7744, allocations: 47.36 kB / 0.7597 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.7744, allocations: 0 / 0.7597 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7746, allocations: 318.8 kB / 0.76 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.7747, allocations: 63.94 kB / 0.76 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.7748, allocations: 75.59 kB / 0.7601 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.776, allocations: 171.8 kB / 0.7603 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.776, allocations: 0 / 0.7603 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001305/0.7773, allocations: 291.2 kB / 0.7605 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7773, allocations: 5.719 kB / 0.7606 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7773, allocations: 3.953 kB / 0.7606 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.7774, allocations: 4 kB / 0.7606 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.7776, allocations: 43.91 kB / 0.7606 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7776, allocations: 0 / 0.7606 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7778, allocations: 23.83 kB / 0.7606 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.7779, allocations: 8.031 kB / 0.7606 GB, free: 8.492 MB / 0.5417 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 8.493e-05/0.778, allocations: 104.9 kB / 0.7607 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001206/0.7792, allocations: 253.4 kB / 0.761 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.7792, allocations: 11.86 kB / 0.761 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.7806, allocations: 286.1 kB / 0.7613 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7806, allocations: 0 / 0.7613 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7806, allocations: 0 / 0.7613 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7806, allocations: 0 / 0.7613 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.7829, allocations: 1.025 MB / 0.7623 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7829, allocations: 3.938 kB / 0.7623 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.7831, allocations: 27.98 kB / 0.7623 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.7831, allocations: 7.938 kB / 0.7623 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.7831, allocations: 7.984 kB / 0.7623 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.7831, allocations: 0 / 0.7623 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7832, allocations: 4 kB / 0.7623 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.7845, allocations: 380.4 kB / 0.7627 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.7846, allocations: 93 kB / 0.7628 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.7846, allocations: 8 kB / 0.7628 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.7848, allocations: 15.97 kB / 0.7628 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.7849, allocations: 11.92 kB / 0.7628 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.7849, allocations: 4 kB / 0.7628 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.785, allocations: 105.7 kB / 0.7629 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.785, allocations: 0 / 0.7629 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005437/0.7855, allocations: 135.7 kB / 0.763 GB, free: 5.828 MB / 0.5417 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) * 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.002087/0.7876, allocations: 1.183 MB / 0.7642 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.7879, allocations: 147.9 kB / 0.7643 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.788, allocations: 0 / 0.7643 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-05/0.7881, allocations: 63.94 kB / 0.7644 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.7883, allocations: 19.98 kB / 0.7644 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.789, allocations: 272.1 kB / 0.7647 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.7894, allocations: 0.7123 MB / 0.7654 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.7895, allocations: 25.48 kB / 0.7654 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.7896, allocations: 43.41 kB / 0.7654 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.7896, allocations: 0 / 0.7654 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.815, allocations: 4.406 MB / 0.7697 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.8153, allocations: 151.8 kB / 0.7699 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.584, allocations: 2 kB / 0.7699 GB, free: 14.7 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)