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.001132/0.001132, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00133/0.00133, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9636/0.9636, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 8 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001791/0.1308, allocations: 1.682 MB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.1315, allocations: 0.5224 MB / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.1316, allocations: 7.938 kB / 0.5896 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.95e-05/0.1317, allocations: 15.86 kB / 0.5897 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.1318, allocations: 27.72 kB / 0.5897 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.132, allocations: 59.92 kB / 0.5897 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1322, allocations: 200 kB / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1323, allocations: 90.11 kB / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.1324, allocations: 55.72 kB / 0.5901 GB, free: 220 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.1325, allocations: 83.53 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1326, allocations: 8 kB / 0.5902 GB, free: 128 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.1326, allocations: 8 kB / 0.5902 GB, free: 120 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.1327, allocations: 31.84 kB / 0.5902 GB, free: 88 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.1327, allocations: 53.64 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1329, allocations: 203.7 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1329, allocations: 0 / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1329, allocations: 0 / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1329, allocations: 0 / 0.5904 GB, free: 15.83 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.0005687/0.1335, allocations: 498.4 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1335, allocations: 16.02 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1336, allocations: 50.55 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.1336, allocations: 27.72 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1339, allocations: 255.4 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1339, allocations: 12 kB / 0.5913 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1339, allocations: 20 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1343, allocations: 224.7 kB / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1343, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1343, allocations: 12 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1344, allocations: 4 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.1346, allocations: 139.9 kB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/0.1354, allocations: 0.609 MB / 0.5922 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1357, allocations: 130.7 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1358, allocations: 48.84 kB / 0.5924 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1359, allocations: 4 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1359, allocations: 38.52 kB / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1359, allocations: 0 / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003915/0.1363, allocations: 185.5 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1364, allocations: 136.5 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1365, allocations: 206.9 kB / 0.593 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1366, allocations: 33.7 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.1367, allocations: 152.1 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1367, allocations: 35.55 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.1367, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.1368, allocations: 330.8 kB / 0.5935 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1369, allocations: 51.98 kB / 0.5935 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.137, allocations: 92.27 kB / 0.5936 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1372, allocations: 43.98 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1372, allocations: 0 / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002721/0.1374, allocations: 157.4 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1375, allocations: 15.94 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1375, allocations: 0 / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1375, allocations: 0 / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.1376, allocations: 23.92 kB / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1376, allocations: 0 / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1377, allocations: 39.92 kB / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1378, allocations: 0 / 0.5939 GB, free: 12.02 MB / 0.4981 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 ($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 (14): * Single equations (assignments): 14 * 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.0001064/0.1379, allocations: 145.7 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1379, allocations: 15.81 kB / 0.594 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.1382, allocations: 154.9 kB / 0.5942 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1382, allocations: 4 kB / 0.5942 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1382, allocations: 0 / 0.5942 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1382, allocations: 3.984 kB / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1385, allocations: 277.4 kB / 0.5945 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1385, allocations: 0 / 0.5945 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.1386, allocations: 19.98 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1386, allocations: 0 / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1386, allocations: 4 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1386, allocations: 4.422 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1386, allocations: 0 / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1389, allocations: 243.2 kB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.139, allocations: 88.92 kB / 0.5948 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.139, allocations: 8 kB / 0.5948 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1391, allocations: 27.97 kB / 0.5948 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.1392, allocations: 27.91 kB / 0.5949 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1392, allocations: 4 kB / 0.5949 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000106/0.1393, allocations: 156.4 kB / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.282e-06/0.1393, allocations: 0 / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002477/0.1396, allocations: 43.78 kB / 0.5951 GB, free: 10.71 MB / 0.4981 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.0005189/0.1401, allocations: 0.7865 MB / 0.5958 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.1404, allocations: 115.8 kB / 0.5959 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1404, allocations: 64 / 0.5959 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1405, allocations: 59.97 kB / 0.596 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1408, allocations: 24.33 kB / 0.596 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1422, allocations: 1.069 MB / 0.5971 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1425, allocations: 0.7361 MB / 0.5978 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.925e-05/0.1426, allocations: 21.45 kB / 0.5978 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.1427, allocations: 67.41 kB / 0.5979 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1427, allocations: 0 / 0.5979 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8761/1.019, allocations: 3.692 MB / 0.6015 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003808/1.019, allocations: 222.4 kB / 0.6017 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/3.037, allocations: 2.531 kB / 0.6017 GB, free: 4.027 MB / 0.4981 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) Environment - environmentSimulation: