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.0103/0.0103, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.763/0.763, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001022/0.001022, allocations: 99.34 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003725, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4301, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5843, allocations: 117.9 MB / 0.7647 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5847, allocations: 87.95 kB / 0.7647 GB, free: 14 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02457/0.6093, allocations: 8.212 MB / 0.7728 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.106e-06/0.6093, allocations: 4 kB / 0.7728 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.6093, allocations: 4 kB / 0.7728 GB, free: 5.762 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.0009629/0.6103, allocations: 0.491 MB / 0.7733 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.6104, allocations: 12.03 kB / 0.7733 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.6104, allocations: 47.23 kB / 0.7733 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.6109, allocations: 95.77 kB / 0.7734 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.6111, allocations: 182.8 kB / 0.7736 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.6112, allocations: 49.69 kB / 0.7736 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.6112, allocations: 12 kB / 0.7736 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.6117, allocations: 191 kB / 0.7738 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6117, allocations: 0 / 0.7738 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.6117, allocations: 4 kB / 0.7738 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6118, allocations: 7.938 kB / 0.7738 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.6122, allocations: 195.7 kB / 0.774 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.6136, allocations: 0.9231 MB / 0.7749 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.6141, allocations: 186.5 kB / 0.7751 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.6148, allocations: 0.522 MB / 0.7756 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.6148, allocations: 30.56 kB / 0.7756 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.6148, allocations: 4 kB / 0.7756 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0007527/0.6156, allocations: 253.6 kB / 0.7759 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.6157, allocations: 51.41 kB / 0.7759 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.6158, allocations: 158 kB / 0.7761 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.6158, allocations: 25.7 kB / 0.7761 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.6159, allocations: 123.6 kB / 0.7762 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.616, allocations: 43.36 kB / 0.7763 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.616, allocations: 4 kB / 0.7763 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6161, allocations: 322.8 kB / 0.7766 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.6163, allocations: 79.95 kB / 0.7766 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.6165, allocations: 100.1 kB / 0.7767 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.6167, allocations: 71.94 kB / 0.7768 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6167, allocations: 0 / 0.7768 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004847/0.6172, allocations: 221.4 kB / 0.777 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6172, allocations: 4 kB / 0.777 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6173, allocations: 0 / 0.777 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6173, allocations: 7.984 kB / 0.777 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.6176, allocations: 43.95 kB / 0.7771 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6176, allocations: 3.984 kB / 0.7771 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.6178, allocations: 27.73 kB / 0.7771 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.6178, allocations: 7.938 kB / 0.7771 GB, free: 0.8984 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 () * 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.0001168/0.6179, allocations: 131.7 kB / 0.7772 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.618, allocations: 19.84 kB / 0.7773 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.6185, allocations: 206.8 kB / 0.7775 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6185, allocations: 4 kB / 0.7775 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6185, allocations: 0 / 0.7775 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6185, allocations: 4 kB / 0.7775 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.62, allocations: 0.9779 MB / 0.7784 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.62, allocations: 0 / 0.7784 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.6203, allocations: 35.97 kB / 0.7785 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6203, allocations: 3.938 kB / 0.7785 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6203, allocations: 4 kB / 0.7785 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6203, allocations: 0 / 0.7785 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6203, allocations: 0 / 0.7785 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.6208, allocations: 333.3 kB / 0.7788 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.6209, allocations: 96.94 kB / 0.7789 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.6209, allocations: 8 kB / 0.7789 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.6211, allocations: 19.97 kB / 0.7789 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.6212, allocations: 15.94 kB / 0.7789 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.6212, allocations: 15.88 kB / 0.7789 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.6213, allocations: 119.1 kB / 0.779 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6213, allocations: 4 kB / 0.779 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005522/0.6219, allocations: 135.8 kB / 0.7792 GB, free: 14.57 MB / 0.5573 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 (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.001167/0.6231, allocations: 1.116 MB / 0.7803 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.6235, allocations: 191.8 kB / 0.7804 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6236, allocations: 0 / 0.7804 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.6238, allocations: 83.91 kB / 0.7805 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.6241, allocations: 44.16 kB / 0.7806 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.6259, allocations: 1.19 MB / 0.7817 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.6262, allocations: 0.7128 MB / 0.7824 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.6264, allocations: 29.81 kB / 0.7825 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6265, allocations: 47.41 kB / 0.7825 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of SimCode: time 4.379e-06/0.6265, allocations: 0 / 0.7825 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.6445, allocations: 5.377 MB / 0.7878 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.6447, allocations: 195.5 kB / 0.7879 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.561, allocations: 0 / 0.7879 GB, free: 5.598 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)