Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_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.006007/0.006007, allocations: 169.7 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 0.741/0.741, allocations: 135.2 MB / 151 MB, free: 13.8 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.488/1.488, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0009954/0.0009956, allocations: 100.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 11.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4561, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.6457, allocations: 114.3 MB / 0.7612 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.6459, allocations: 91.94 kB / 0.7613 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008997/0.655, allocations: 3.343 MB / 0.7645 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.655, allocations: 0 / 0.7645 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.655, allocations: 8 kB / 0.7645 GB, free: 14.2 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.0006755/0.6557, allocations: 0.4984 MB / 0.765 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6558, allocations: 16.03 kB / 0.765 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.6558, allocations: 50.55 kB / 0.7651 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.6559, allocations: 27.67 kB / 0.7651 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.6562, allocations: 235.4 kB / 0.7653 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6562, allocations: 16 kB / 0.7654 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.6562, allocations: 16 kB / 0.7654 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.6566, allocations: 228.7 kB / 0.7656 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.6567, allocations: 0 / 0.7656 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.6567, allocations: 12 kB / 0.7656 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6567, allocations: 4 kB / 0.7656 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.657, allocations: 147.7 kB / 0.7657 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.6579, allocations: 0.6092 MB / 0.7663 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.6583, allocations: 130.7 kB / 0.7665 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.6584, allocations: 3.953 kB / 0.7665 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6584, allocations: 38.56 kB / 0.7665 GB, free: 12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.6584, allocations: 0 / 0.7665 GB, free: 12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.000483/0.6589, allocations: 185.6 kB / 0.7667 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.659, allocations: 128.5 kB / 0.7668 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.6592, allocations: 198.2 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6592, allocations: 33.7 kB / 0.767 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.6593, allocations: 140.3 kB / 0.7672 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.6593, allocations: 31.55 kB / 0.7672 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.6594, allocations: 0 / 0.7672 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6595, allocations: 326.8 kB / 0.7675 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.6596, allocations: 51.97 kB / 0.7676 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.6598, allocations: 89.78 kB / 0.7676 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6599, allocations: 43.98 kB / 0.7677 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6599, allocations: 3.938 kB / 0.7677 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000287/0.6602, allocations: 157.5 kB / 0.7678 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6602, allocations: 7.953 kB / 0.7678 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.6602, allocations: 8 kB / 0.7678 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6603, allocations: 3.938 kB / 0.7679 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.6604, allocations: 15.98 kB / 0.7679 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6604, allocations: 384 / 0.7679 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.6606, allocations: 43.81 kB / 0.7679 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.6606, allocations: 8 kB / 0.7679 GB, free: 10.47 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.0001377/0.6607, allocations: 138.7 kB / 0.768 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.6608, allocations: 23.73 kB / 0.7681 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.6612, allocations: 158.9 kB / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6612, allocations: 4 kB / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6612, allocations: 0 / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6612, allocations: 0 / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.6615, allocations: 277.5 kB / 0.7685 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6615, allocations: 0 / 0.7685 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.6616, allocations: 19.98 kB / 0.7685 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6616, allocations: 0 / 0.7685 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6617, allocations: 0 / 0.7685 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.6617, allocations: 7.953 kB / 0.7685 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6617, allocations: 0 / 0.7685 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.662, allocations: 239.2 kB / 0.7687 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.6621, allocations: 96.83 kB / 0.7688 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.6621, allocations: 7.984 kB / 0.7688 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.6623, allocations: 27.98 kB / 0.7689 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.6624, allocations: 31.89 kB / 0.7689 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.6624, allocations: 12 kB / 0.7689 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001203/0.6625, allocations: 148.6 kB / 0.7691 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6625, allocations: 0 / 0.7691 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002637/0.6628, allocations: 32 kB / 0.7691 GB, free: 9.172 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.0006414/0.6635, allocations: 0.7943 MB / 0.7699 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.6638, allocations: 116.7 kB / 0.77 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6638, allocations: 7.938 kB / 0.77 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.6639, allocations: 55.98 kB / 0.77 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.6641, allocations: 27.83 kB / 0.7701 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.6658, allocations: 1.072 MB / 0.7711 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6662, allocations: 0.74 MB / 0.7718 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.059e-05/0.6662, allocations: 13.42 kB / 0.7718 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.6664, allocations: 71.41 kB / 0.7719 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of SimCode: time 3.9e-07/0.6664, allocations: 0 / 0.7719 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.682, allocations: 3.75 MB / 0.7756 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.6823, allocations: 194.9 kB / 0.7758 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.504, allocations: 0 / 0.7758 GB, free: 2.387 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)