Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.01181/0.01181, allocations: 171.9 kB / 15.11 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 1.272/1.272, 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 2.219/2.219, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001413/0.001414, allocations: 105.4 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006566, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8232, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2525/1.076, allocations: 114.3 MB / 0.7612 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000426/1.076, allocations: 91.94 kB / 0.7613 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01312/1.089, allocations: 3.355 MB / 0.7645 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.42e-06/1.09, allocations: 0 / 0.7645 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.479e-05/1.09, allocations: 8 kB / 0.7645 GB, free: 14.17 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001253/1.091, allocations: 0.4984 MB / 0.765 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 9.296e-05/1.091, allocations: 12.03 kB / 0.765 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/1.091, allocations: 50.55 kB / 0.7651 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/1.091, allocations: 27.67 kB / 0.7651 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/1.092, allocations: 235.5 kB / 0.7653 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/1.092, allocations: 12 kB / 0.7653 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/1.092, allocations: 20 kB / 0.7654 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/1.093, allocations: 228.7 kB / 0.7656 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.093, allocations: 0 / 0.7656 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/1.093, allocations: 4 kB / 0.7656 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/1.093, allocations: 8 kB / 0.7656 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/1.093, allocations: 143.7 kB / 0.7657 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/1.095, allocations: 0.6131 MB / 0.7663 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/1.096, allocations: 126.7 kB / 0.7665 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.701e-05/1.096, allocations: 7.953 kB / 0.7665 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/1.096, allocations: 38.55 kB / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/1.096, allocations: 0 / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0008665/1.097, allocations: 185.5 kB / 0.7667 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/1.097, allocations: 132.5 kB / 0.7668 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/1.098, allocations: 198.2 kB / 0.767 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/1.098, allocations: 33.7 kB / 0.767 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/1.098, allocations: 140.3 kB / 0.7672 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/1.098, allocations: 27.56 kB / 0.7672 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/1.098, allocations: 0 / 0.7672 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003126/1.098, allocations: 330.8 kB / 0.7675 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.099, allocations: 47.98 kB / 0.7675 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/1.099, allocations: 83.41 kB / 0.7676 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/1.099, allocations: 47.98 kB / 0.7677 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.099, allocations: 3.938 kB / 0.7677 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004679/1.099, allocations: 157.5 kB / 0.7678 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/1.1, allocations: 11.94 kB / 0.7678 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.1, allocations: 3.938 kB / 0.7678 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/1.1, allocations: 4.047 kB / 0.7678 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.1, allocations: 19.97 kB / 0.7679 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.1, allocations: 0 / 0.7679 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.1, allocations: 43.83 kB / 0.7679 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/1.1, allocations: 7.984 kB / 0.7679 GB, free: 10.44 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002481/1.1, allocations: 138.7 kB / 0.768 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/1.1, allocations: 15.81 kB / 0.7681 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/1.101, allocations: 162.9 kB / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.101, allocations: 0 / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.101, allocations: 4 kB / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.101, allocations: 0 / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/1.102, allocations: 273.5 kB / 0.7685 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.102, allocations: 0 / 0.7685 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/1.102, allocations: 23.98 kB / 0.7685 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.102, allocations: 480 / 0.7685 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/1.102, allocations: 3.984 kB / 0.7685 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.102, allocations: 3.953 kB / 0.7685 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.102, allocations: 4 kB / 0.7685 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/1.102, allocations: 239.2 kB / 0.7687 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.103, allocations: 100.8 kB / 0.7688 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/1.103, allocations: 8 kB / 0.7688 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/1.103, allocations: 27.97 kB / 0.7689 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.103, allocations: 31.91 kB / 0.7689 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.103, allocations: 4 kB / 0.7689 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002462/1.103, allocations: 160.6 kB / 0.7691 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/1.103, allocations: 0 / 0.7691 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004474/1.104, allocations: 28 kB / 0.7691 GB, free: 9.137 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001109/1.105, allocations: 0.7863 MB / 0.7699 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004478/1.105, allocations: 112.7 kB / 0.77 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.105, allocations: 7.938 kB / 0.77 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/1.106, allocations: 59.97 kB / 0.77 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/1.106, allocations: 30.8 kB / 0.7701 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/1.109, allocations: 1.069 MB / 0.7711 GB, free: 7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.11, allocations: 0.7439 MB / 0.7718 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001493/1.11, allocations: 13.42 kB / 0.7718 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/1.111, allocations: 70.78 kB / 0.7719 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of SimCode: time 1.412e-06/1.111, allocations: 0 / 0.7719 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/1.154, allocations: 3.748 MB / 0.7756 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003327/1.154, allocations: 211.9 kB / 0.7758 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/4.102, allocations: 0 / 0.7758 GB, free: 2.355 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)