Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_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.01474/0.01474, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.25/1.25, allocations: 135.2 MB / 151.1 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.858/2.858, allocations: 223.2 MB / 406.8 MB, free: 3.137 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.001683/0.001683, allocations: 101.5 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006015/0.0006018, allocations: 15.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7886, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/1.058, allocations: 117.9 MB / 0.7647 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/1.058, allocations: 87.94 kB / 0.7648 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04694/1.105, allocations: 8.275 MB / 0.7729 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.72e-05/1.105, allocations: 0 / 0.7729 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.465e-05/1.106, allocations: 7.938 kB / 0.7729 GB, free: 5.641 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.00265/1.108, allocations: 0.5027 MB / 0.7734 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 9.778e-05/1.108, allocations: 8.031 kB / 0.7734 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/1.109, allocations: 55.23 kB / 0.7734 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/1.11, allocations: 151.5 kB / 0.7736 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/1.111, allocations: 174.9 kB / 0.7737 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/1.111, allocations: 49.69 kB / 0.7738 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/1.111, allocations: 23.98 kB / 0.7738 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/1.112, allocations: 213.9 kB / 0.774 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.112, allocations: 0 / 0.774 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/1.112, allocations: 4 kB / 0.774 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.112, allocations: 11.94 kB / 0.774 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/1.113, allocations: 239.8 kB / 0.7743 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/1.116, allocations: 0.9819 MB / 0.7752 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/1.117, allocations: 179.8 kB / 0.7754 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.118, allocations: 0.522 MB / 0.7759 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/1.118, allocations: 34.55 kB / 0.7759 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 3.186e-06/1.118, allocations: 4 kB / 0.7759 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.00184/1.12, allocations: 338.1 kB / 0.7763 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.12, allocations: 55.41 kB / 0.7763 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/1.12, allocations: 142.7 kB / 0.7765 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/1.12, allocations: 29.7 kB / 0.7765 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.121, allocations: 124.1 kB / 0.7766 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/1.121, allocations: 51.2 kB / 0.7766 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/1.121, allocations: 4 kB / 0.7767 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002381/1.121, allocations: 326.8 kB / 0.777 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/1.122, allocations: 100.3 kB / 0.7771 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/1.122, allocations: 126.5 kB / 0.7772 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/1.123, allocations: 103.9 kB / 0.7773 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.123, allocations: 0 / 0.7773 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001246/1.124, allocations: 267.1 kB / 0.7775 GB, free: 472 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/1.124, allocations: 4 kB / 0.7775 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.124, allocations: 7.938 kB / 0.7775 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/1.124, allocations: 3.953 kB / 0.7775 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/1.125, allocations: 55.95 kB / 0.7776 GB, free: 400 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.125, allocations: 4 kB / 0.7776 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/1.125, allocations: 27.81 kB / 0.7776 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/1.125, allocations: 12 kB / 0.7776 GB, free: 356 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.0002097/1.125, allocations: 129.7 kB / 0.7778 GB, free: 216 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/1.125, allocations: 11.91 kB / 0.7778 GB, free: 204 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.127, allocations: 272.8 kB / 0.778 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.127, allocations: 7.953 kB / 0.778 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.127, allocations: 7.938 kB / 0.7781 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.127, allocations: 3.984 kB / 0.7781 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/1.13, allocations: 1.077 MB / 0.7791 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.13, allocations: 8.016 kB / 0.7791 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/1.13, allocations: 43.95 kB / 0.7792 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.13, allocations: 3.984 kB / 0.7792 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/1.13, allocations: 8 kB / 0.7792 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.13, allocations: 0 / 0.7792 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.13, allocations: 0 / 0.7792 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.132, allocations: 380.5 kB / 0.7795 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.132, allocations: 96.86 kB / 0.7796 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/1.132, allocations: 3.984 kB / 0.7796 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/1.132, allocations: 27.98 kB / 0.7797 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/1.132, allocations: 11.97 kB / 0.7797 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/1.133, allocations: 8 kB / 0.7797 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001654/1.133, allocations: 126.2 kB / 0.7798 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/1.133, allocations: 0 / 0.7798 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001024/1.134, allocations: 143.8 kB / 0.7799 GB, free: 13.79 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.002566/1.136, allocations: 1.176 MB / 0.7811 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001216/1.138, allocations: 231.8 kB / 0.7813 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.138, allocations: 4 kB / 0.7813 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005446/1.138, allocations: 116 kB / 0.7814 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/1.139, allocations: 40.61 kB / 0.7815 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/1.145, allocations: 1.439 MB / 0.7829 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/1.145, allocations: 0.7167 MB / 0.7836 GB, free: 9.941 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003774/1.146, allocations: 37.42 kB / 0.7836 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/1.146, allocations: 39.42 kB / 0.7836 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of SimCode: time 1.463e-06/1.146, allocations: 4 kB / 0.7836 GB, free: 9.863 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/1.176, allocations: 5.657 MB / 0.7892 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.176, allocations: 191.2 kB / 0.7893 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/4.198, allocations: 0 / 0.7893 GB, free: 4.141 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)