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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001041/0.001041, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.689/0.689, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 56.28 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1224, allocations: 80.2 MB / 0.5797 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00276/0.1252, allocations: 2.09 MB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.1259, allocations: 0.5416 MB / 0.5823 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.126, allocations: 11.88 kB / 0.5823 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.875e-05/0.1261, allocations: 11.86 kB / 0.5823 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.1262, allocations: 31.78 kB / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1264, allocations: 75.83 kB / 0.5824 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1266, allocations: 224 kB / 0.5826 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.1268, allocations: 116.3 kB / 0.5827 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1269, allocations: 91.62 kB / 0.5828 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.862e-05/0.127, allocations: 95.53 kB / 0.5829 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.1271, allocations: 28 kB / 0.5829 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.1271, allocations: 35.98 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.1272, allocations: 51.78 kB / 0.583 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.1273, allocations: 107.4 kB / 0.5831 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1275, allocations: 259.4 kB / 0.5833 GB, free: 5.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1275, allocations: 4 kB / 0.5834 GB, free: 5.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1275, allocations: 0 / 0.5834 GB, free: 5.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1275, allocations: 7.984 kB / 0.5834 GB, free: 5.203 MB / 494.1 MB 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.0006255/0.1282, allocations: 0.518 MB / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.1282, allocations: 12.03 kB / 0.5839 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.1283, allocations: 50.73 kB / 0.5839 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.1283, allocations: 28.66 kB / 0.584 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1286, allocations: 252.7 kB / 0.5842 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1286, allocations: 8.375 kB / 0.5842 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1286, allocations: 19.94 kB / 0.5842 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.129, allocations: 224.7 kB / 0.5844 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.129, allocations: 0 / 0.5844 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.129, allocations: 12 kB / 0.5844 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.129, allocations: 4 kB / 0.5844 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.1293, allocations: 139.9 kB / 0.5846 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.1301, allocations: 0.5972 MB / 0.5852 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1304, allocations: 118.7 kB / 0.5853 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1305, allocations: 56.81 kB / 0.5853 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1305, allocations: 0 / 0.5853 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1306, allocations: 38.69 kB / 0.5854 GB, free: 2.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.1306, allocations: 0 / 0.5854 GB, free: 2.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003946/0.131, allocations: 173.3 kB / 0.5855 GB, free: 2.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.131, allocations: 136.5 kB / 0.5857 GB, free: 2.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1312, allocations: 214.9 kB / 0.5859 GB, free: 2.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1312, allocations: 33.7 kB / 0.5859 GB, free: 2.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.1313, allocations: 144.2 kB / 0.586 GB, free: 2.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1313, allocations: 31.55 kB / 0.5861 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.1314, allocations: 37.7 kB / 0.5861 GB, free: 2.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.1315, allocations: 326.8 kB / 0.5864 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1316, allocations: 51.97 kB / 0.5865 GB, free: 1.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1318, allocations: 84.27 kB / 0.5865 GB, free: 1.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1319, allocations: 88.38 kB / 0.5866 GB, free: 1.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1319, allocations: 0 / 0.5866 GB, free: 1.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.1322, allocations: 161.5 kB / 0.5868 GB, free: 1.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1322, allocations: 7.938 kB / 0.5868 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1323, allocations: 0 / 0.5868 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1323, allocations: 0 / 0.5868 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1324, allocations: 23.92 kB / 0.5868 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1324, allocations: 3.938 kB / 0.5868 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1325, allocations: 31.81 kB / 0.5869 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.1325, allocations: 8.031 kB / 0.5869 GB, free: 1.332 MB / 494.1 MB 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.0001079/0.1327, allocations: 129.8 kB / 0.587 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1327, allocations: 27.73 kB / 0.587 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.133, allocations: 143 kB / 0.5871 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.133, allocations: 0 / 0.5871 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.133, allocations: 0 / 0.5871 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.133, allocations: 0 / 0.5871 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1333, allocations: 273.5 kB / 0.5874 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1333, allocations: 0 / 0.5874 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.1334, allocations: 23.92 kB / 0.5874 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1334, allocations: 3.938 kB / 0.5874 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1334, allocations: 3.984 kB / 0.5874 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1334, allocations: 480 / 0.5874 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1334, allocations: 4 kB / 0.5874 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1337, allocations: 235.2 kB / 0.5877 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1337, allocations: 92.83 kB / 0.5878 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1338, allocations: 11.94 kB / 0.5878 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1339, allocations: 19.97 kB / 0.5878 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.134, allocations: 19.97 kB / 0.5878 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.134, allocations: 4 kB / 0.5878 GB, free: 264 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1341, allocations: 156.4 kB / 0.588 GB, free: 108 kB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1341, allocations: 0 / 0.588 GB, free: 108 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1344, allocations: 39.84 kB / 0.588 GB, free: 68 kB / 494.1 MB 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.0005165/0.1349, allocations: 0.7708 MB / 0.5887 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1352, allocations: 119.8 kB / 0.5889 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1352, allocations: 0 / 0.5889 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1353, allocations: 51.97 kB / 0.5889 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1356, allocations: 21.73 kB / 0.5889 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1376, allocations: 2.056 MB / 0.5909 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1378, allocations: 0.7358 MB / 0.5917 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.1379, allocations: 21.45 kB / 0.5917 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.138, allocations: 63.41 kB / 0.5917 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.138, allocations: 0 / 0.5917 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6541/0.7921, allocations: 3.689 MB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.7924, allocations: 228.7 kB / 0.5956 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.725, allocations: 2.5 kB / 0.5956 GB, free: 8.379 MB / 0.4981 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/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)