Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.006812/0.006812, allocations: 172.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7402/0.7402, allocations: 135.2 MB / 151 MB, free: 13.82 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.451/1.451, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009169/0.0009172, allocations: 103.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4455, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.6048, allocations: 117.9 MB / 0.7647 GB, free: 14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.6052, allocations: 91.94 kB / 0.7648 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.6294, allocations: 8.271 MB / 0.7729 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6294, allocations: 4 kB / 0.7729 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6294, allocations: 3.938 kB / 0.7729 GB, free: 5.613 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008212/0.6303, allocations: 0.4989 MB / 0.7734 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6303, allocations: 19.97 kB / 0.7734 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.6304, allocations: 55.23 kB / 0.7734 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6314, allocations: 147.6 kB / 0.7736 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.6315, allocations: 171 kB / 0.7737 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.206e-05/0.6316, allocations: 53.69 kB / 0.7738 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.6317, allocations: 12 kB / 0.7738 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.6323, allocations: 213.9 kB / 0.774 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6323, allocations: 0 / 0.774 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.6323, allocations: 19.88 kB / 0.774 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.6323, allocations: 7.984 kB / 0.774 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.633, allocations: 235.8 kB / 0.7743 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.6346, allocations: 0.9819 MB / 0.7752 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.635, allocations: 178.7 kB / 0.7754 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006635/0.6357, allocations: 0.5181 MB / 0.7759 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.6357, allocations: 42.5 kB / 0.7759 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.6358, allocations: 0 / 0.7759 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001125/0.6369, allocations: 343.8 kB / 0.7763 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.6369, allocations: 55.41 kB / 0.7763 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.6371, allocations: 138.2 kB / 0.7765 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.6371, allocations: 33.7 kB / 0.7765 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.6372, allocations: 116.1 kB / 0.7766 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.6372, allocations: 55.2 kB / 0.7767 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.6373, allocations: 8 kB / 0.7767 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6374, allocations: 326.8 kB / 0.777 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.6377, allocations: 96.33 kB / 0.7771 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.6381, allocations: 134.5 kB / 0.7772 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.6384, allocations: 90.97 kB / 0.7773 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6384, allocations: 0 / 0.7773 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007389/0.6392, allocations: 275 kB / 0.7775 GB, free: 440 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6392, allocations: 12.03 kB / 0.7776 GB, free: 428 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6392, allocations: 3.984 kB / 0.7776 GB, free: 424 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6392, allocations: 3.953 kB / 0.7776 GB, free: 420 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.6396, allocations: 51.89 kB / 0.7776 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6396, allocations: 4 kB / 0.7776 GB, free: 364 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.6399, allocations: 35.83 kB / 0.7776 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.6399, allocations: 11.92 kB / 0.7777 GB, free: 316 kB / 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 (22): * Single equations (assignments): 22 * 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.0001157/0.6401, allocations: 125.8 kB / 0.7778 GB, free: 180 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.6401, allocations: 11.91 kB / 0.7778 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.641, allocations: 274.6 kB / 0.778 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.641, allocations: 3.953 kB / 0.7781 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.641, allocations: 0 / 0.7781 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.641, allocations: 0 / 0.7781 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.6427, allocations: 1.083 MB / 0.7791 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6428, allocations: 3.953 kB / 0.7791 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.6431, allocations: 39.97 kB / 0.7792 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6431, allocations: 4.062 kB / 0.7792 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.6431, allocations: 7.984 kB / 0.7792 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6431, allocations: 4 kB / 0.7792 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6431, allocations: 0 / 0.7792 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.6439, allocations: 382.6 kB / 0.7795 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.644, allocations: 100.8 kB / 0.7796 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.644, allocations: 8 kB / 0.7796 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.6443, allocations: 23.97 kB / 0.7797 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.6444, allocations: 15.98 kB / 0.7797 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.6444, allocations: 7.984 kB / 0.7797 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.752e-05/0.6445, allocations: 122.2 kB / 0.7798 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6445, allocations: 0 / 0.7798 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005554/0.6451, allocations: 143.8 kB / 0.7799 GB, free: 13.75 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 (16): * Single equations (assignments): 16 * 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.001413/0.6465, allocations: 1.171 MB / 0.7811 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.6472, allocations: 235.8 kB / 0.7813 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6472, allocations: 0 / 0.7813 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.6476, allocations: 117.2 kB / 0.7814 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.6479, allocations: 40.06 kB / 0.7815 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.6515, allocations: 1.442 MB / 0.7829 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.6518, allocations: 0.7128 MB / 0.7836 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.6521, allocations: 29.48 kB / 0.7836 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6522, allocations: 47.41 kB / 0.7836 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.6522, allocations: 4 kB / 0.7836 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.6698, allocations: 5.646 MB / 0.7891 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.67, allocations: 186.3 kB / 0.7893 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.576, allocations: 0 / 0.7893 GB, free: 4.121 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)