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.001588/0.001588, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001987, allocations: 197.4 kB / 16.53 MB, free: 6.699 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8915/0.8915, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 68.91 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1563, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004136/0.1605, allocations: 2.028 MB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1615, allocations: 0.565 MB / 0.587 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1617, allocations: 4 kB / 0.587 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1618, allocations: 27.61 kB / 0.5871 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.1619, allocations: 31.66 kB / 0.5871 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1622, allocations: 83.84 kB / 0.5872 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1625, allocations: 224 kB / 0.5874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1627, allocations: 119.6 kB / 0.5875 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1628, allocations: 87.7 kB / 0.5876 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.163, allocations: 103.5 kB / 0.5877 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.163, allocations: 24 kB / 0.5877 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.1631, allocations: 31.98 kB / 0.5877 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.1632, allocations: 51.84 kB / 0.5878 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1633, allocations: 111.4 kB / 0.5879 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1636, allocations: 267.4 kB / 0.5881 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1636, allocations: 0 / 0.5881 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1636, allocations: 0 / 0.5881 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1636, allocations: 0 / 0.5881 GB, free: 0.6836 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.0007536/0.1643, allocations: 0.5219 MB / 0.5886 GB, free: 116 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1644, allocations: 12.03 kB / 0.5887 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.1645, allocations: 50.73 kB / 0.5887 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1645, allocations: 24.66 kB / 0.5887 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1648, allocations: 256.6 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1649, allocations: 12.38 kB / 0.589 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1649, allocations: 23.94 kB / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.1653, allocations: 228.6 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1653, allocations: 0 / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1654, allocations: 4 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1654, allocations: 4 kB / 0.5892 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.1657, allocations: 143.9 kB / 0.5894 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/0.1666, allocations: 0.5932 MB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.167, allocations: 130.7 kB / 0.5901 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1671, allocations: 44.83 kB / 0.5901 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.1671, allocations: 8 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1672, allocations: 34.56 kB / 0.5902 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1672, allocations: 0 / 0.5902 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004559/0.1676, allocations: 173.5 kB / 0.5903 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1677, allocations: 136.5 kB / 0.5905 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1679, allocations: 214.9 kB / 0.5907 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1679, allocations: 25.7 kB / 0.5907 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.168, allocations: 144.2 kB / 0.5908 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1681, allocations: 39.53 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.1681, allocations: 33.7 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1682, allocations: 330.8 kB / 0.5912 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1684, allocations: 47.97 kB / 0.5913 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1685, allocations: 84.2 kB / 0.5913 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1687, allocations: 96.69 kB / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1687, allocations: 0 / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003236/0.1691, allocations: 153.4 kB / 0.5916 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1691, allocations: 7.938 kB / 0.5916 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1691, allocations: 4 kB / 0.5916 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1691, allocations: 3.938 kB / 0.5916 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1693, allocations: 20.02 kB / 0.5916 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1693, allocations: 0 / 0.5916 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.1694, allocations: 31.81 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1694, allocations: 8 kB / 0.5916 GB, free: 12.8 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 (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.000113/0.1696, allocations: 133.8 kB / 0.5918 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.1696, allocations: 19.75 kB / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.17, allocations: 151.3 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.17, allocations: 0 / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.17, allocations: 8 kB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.17, allocations: 96 / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1703, allocations: 265.5 kB / 0.5922 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1703, allocations: 4 kB / 0.5922 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1704, allocations: 11.98 kB / 0.5922 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.1704, allocations: 3.938 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1704, allocations: 7.984 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1704, allocations: 4 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1704, allocations: 0 / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1707, allocations: 223.3 kB / 0.5924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.1708, allocations: 96.91 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.1708, allocations: 7.938 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.171, allocations: 23.97 kB / 0.5926 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.1711, allocations: 27.97 kB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1711, allocations: 0 / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001206/0.1712, allocations: 147.2 kB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1713, allocations: 0 / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002797/0.1715, allocations: 43.83 kB / 0.5928 GB, free: 11.55 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 (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.0006083/0.1721, allocations: 0.7875 MB / 0.5935 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.1725, allocations: 104.1 kB / 0.5936 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1725, allocations: 4 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1726, allocations: 59.84 kB / 0.5937 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.173, allocations: 23.67 kB / 0.5937 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.1752, allocations: 1.98 MB / 0.5957 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1755, allocations: 0.7322 MB / 0.5964 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.448e-05/0.1756, allocations: 21.47 kB / 0.5964 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1757, allocations: 63.41 kB / 0.5965 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1757, allocations: 0 / 0.5965 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.1965, allocations: 3.946 MB / 0.6003 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.406, allocations: 10.33 kB / 0.6003 GB, free: 3.859 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/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)