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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008407/0.008407, allocations: 100.5 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 189.6 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7681/0.7681, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.56 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1402, allocations: 80.92 MB / 0.6642 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003227/0.1435, allocations: 2.048 MB / 0.6662 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1446, allocations: 0.565 MB / 0.6667 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1447, allocations: 0 / 0.6667 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1449, allocations: 23.67 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.145, allocations: 47.59 kB / 0.6668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1453, allocations: 79.91 kB / 0.6669 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1456, allocations: 228 kB / 0.6671 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.1458, allocations: 111.9 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1459, allocations: 91.64 kB / 0.6673 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1461, allocations: 111.4 kB / 0.6674 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.1461, allocations: 24 kB / 0.6674 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.1462, allocations: 31.98 kB / 0.6674 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.1463, allocations: 51.84 kB / 0.6675 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.196e-05/0.1464, allocations: 99.47 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.1467, allocations: 286.8 kB / 0.6678 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.1467, allocations: 3.984 kB / 0.6678 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1468, allocations: 3.938 kB / 0.6679 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1468, allocations: 0 / 0.6679 GB, free: 2.496 MB / 0.4981 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.0007732/0.1475, allocations: 0.5218 MB / 0.6684 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1476, allocations: 13.11 kB / 0.6684 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.1477, allocations: 46.73 kB / 0.6684 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.1477, allocations: 28.8 kB / 0.6684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1481, allocations: 256.6 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1481, allocations: 12.12 kB / 0.6687 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.1481, allocations: 24 kB / 0.6687 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.1486, allocations: 224.7 kB / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1486, allocations: 0 / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1486, allocations: 8 kB / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1486, allocations: 4 kB / 0.669 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.1489, allocations: 147.7 kB / 0.6691 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.1499, allocations: 0.582 MB / 0.6697 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1503, allocations: 122.7 kB / 0.6698 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1504, allocations: 48.83 kB / 0.6698 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.1504, allocations: 8 kB / 0.6698 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1505, allocations: 34.5 kB / 0.6699 GB, free: 252 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.1505, allocations: 3.938 kB / 0.6699 GB, free: 248 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004639/0.1509, allocations: 173.7 kB / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.151, allocations: 132.9 kB / 0.6702 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1512, allocations: 208.2 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1513, allocations: 29.7 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1514, allocations: 148.3 kB / 0.6705 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1514, allocations: 39.66 kB / 0.6706 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.1515, allocations: 37.64 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1516, allocations: 330.8 kB / 0.6709 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1518, allocations: 47.97 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1519, allocations: 84.27 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1521, allocations: 97.19 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1522, allocations: 0 / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003171/0.1525, allocations: 153.5 kB / 0.6713 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1525, allocations: 7.938 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1525, allocations: 0 / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1525, allocations: 8 kB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1526, allocations: 19.92 kB / 0.6713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1527, allocations: 0 / 0.6713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1528, allocations: 35.89 kB / 0.6714 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1528, allocations: 8 kB / 0.6714 GB, free: 14.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.153, allocations: 137.1 kB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.153, allocations: 23.83 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.1534, allocations: 143 kB / 0.6716 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1534, allocations: 0 / 0.6716 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1534, allocations: 4 kB / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1534, allocations: 0 / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1537, allocations: 269.5 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1537, allocations: 0 / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.1538, allocations: 15.98 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1538, allocations: 3.938 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1538, allocations: 7.984 kB / 0.6719 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1538, allocations: 3.938 kB / 0.6719 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1538, allocations: 0 / 0.6719 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1541, allocations: 231.4 kB / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.1542, allocations: 96.98 kB / 0.6723 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1543, allocations: 15.88 kB / 0.6723 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1544, allocations: 23.97 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.1545, allocations: 19.97 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1545, allocations: 4 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001313/0.1547, allocations: 163.5 kB / 0.6725 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1547, allocations: 0 / 0.6725 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002833/0.1549, allocations: 39.89 kB / 0.6725 GB, free: 13.35 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006628/0.1556, allocations: 0.7786 MB / 0.6733 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1559, allocations: 103.9 kB / 0.6734 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.156, allocations: 0 / 0.6734 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1561, allocations: 59.91 kB / 0.6734 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1564, allocations: 17.88 kB / 0.6734 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1587, allocations: 1.994 MB / 0.6754 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1591, allocations: 0.7319 MB / 0.6761 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.932e-05/0.1592, allocations: 21.42 kB / 0.6761 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1593, allocations: 63.41 kB / 0.6762 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1593, allocations: 0 / 0.6762 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.1794, allocations: 3.986 MB / 0.6801 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.286, allocations: 10.59 kB / 0.6801 GB, free: 5.602 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)