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.00487/0.00487, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001246/0.001246, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8061/0.8061, allocations: 135.6 MB / 426.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001796, allocations: 67.58 kB / 0.5857 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 81.03 MB / 0.6649 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003327/0.1535, allocations: 2.028 MB / 0.6669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000946/0.1544, allocations: 0.5611 MB / 0.6674 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.1545, allocations: 4 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1546, allocations: 31.61 kB / 0.6674 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/0.1547, allocations: 39.59 kB / 0.6675 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.155, allocations: 75.91 kB / 0.6675 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1553, allocations: 232 kB / 0.6678 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1555, allocations: 115.9 kB / 0.6679 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1556, allocations: 91.64 kB / 0.668 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1558, allocations: 95.53 kB / 0.6681 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.1558, allocations: 27.94 kB / 0.6681 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.1559, allocations: 35.98 kB / 0.6681 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.156, allocations: 51.84 kB / 0.6682 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1561, allocations: 111.4 kB / 0.6683 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.1564, allocations: 278.8 kB / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1565, allocations: 0 / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1565, allocations: 0 / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1565, allocations: 4 kB / 0.6685 GB, free: 1.844 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.0007738/0.1573, allocations: 0.5218 MB / 0.6691 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1573, allocations: 9.109 kB / 0.6691 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.1574, allocations: 54.73 kB / 0.6691 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1574, allocations: 24.8 kB / 0.6691 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1577, allocations: 269.1 kB / 0.6694 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1578, allocations: 20.12 kB / 0.6694 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.1578, allocations: 16 kB / 0.6694 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.1582, allocations: 217 kB / 0.6696 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1582, allocations: 0 / 0.6696 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1583, allocations: 8 kB / 0.6696 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1583, allocations: 8 kB / 0.6697 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.1586, allocations: 143.5 kB / 0.6698 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.1595, allocations: 0.5859 MB / 0.6704 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.1599, allocations: 126.7 kB / 0.6705 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.16, allocations: 48.84 kB / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.1601, allocations: 0 / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1601, allocations: 38.5 kB / 0.6706 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.825e-06/0.1601, allocations: 4 kB / 0.6706 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004692/0.1606, allocations: 177.5 kB / 0.6707 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.1607, allocations: 128.5 kB / 0.6709 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.1609, allocations: 215.1 kB / 0.6711 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1609, allocations: 33.7 kB / 0.6711 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1611, allocations: 148.3 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.1611, allocations: 31.73 kB / 0.6713 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.1612, allocations: 41.7 kB / 0.6713 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1613, allocations: 326.8 kB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1615, allocations: 47.97 kB / 0.6717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1616, allocations: 80.27 kB / 0.6717 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1619, allocations: 93.31 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1619, allocations: 0 / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003119/0.1622, allocations: 153.5 kB / 0.672 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1622, allocations: 15.92 kB / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1622, allocations: 0 / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1622, allocations: 0 / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1624, allocations: 19.92 kB / 0.672 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1624, allocations: 8.031 kB / 0.672 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1625, allocations: 27.88 kB / 0.672 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.1625, allocations: 4 kB / 0.6721 GB, free: 13.97 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.0001294/0.1627, allocations: 133.8 kB / 0.6722 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1627, allocations: 19.84 kB / 0.6722 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.1631, allocations: 151 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1631, allocations: 4 kB / 0.6723 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1631, allocations: 0 / 0.6723 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1631, allocations: 3.984 kB / 0.6723 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.1634, allocations: 269.5 kB / 0.6726 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1634, allocations: 0 / 0.6726 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/0.1635, allocations: 19.92 kB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1635, allocations: 3.938 kB / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1636, allocations: 4 kB / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1636, allocations: 480 / 0.6726 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1636, allocations: 4 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.1639, allocations: 243.2 kB / 0.6729 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.164, allocations: 96.89 kB / 0.673 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.164, allocations: 4 kB / 0.673 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1642, allocations: 19.97 kB / 0.673 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.1643, allocations: 27.97 kB / 0.673 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1643, allocations: 7.984 kB / 0.673 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001503/0.1644, allocations: 156.5 kB / 0.6732 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1645, allocations: 0 / 0.6732 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002616/0.1647, allocations: 35.89 kB / 0.6732 GB, free: 12.69 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.0007464/0.1655, allocations: 0.7786 MB / 0.674 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.1658, allocations: 111.9 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1658, allocations: 0 / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1659, allocations: 51.91 kB / 0.6741 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1663, allocations: 20.44 kB / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.1689, allocations: 1.993 MB / 0.6761 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1693, allocations: 0.7358 MB / 0.6768 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1694, allocations: 17.41 kB / 0.6768 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1695, allocations: 67.41 kB / 0.6769 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1695, allocations: 4 kB / 0.6769 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.195, allocations: 3.976 MB / 0.6808 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.905, allocations: 15.84 kB / 0.6808 GB, free: 4.945 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 & /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)