Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_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.001601/0.001601, allocations: 108 kB / 15.6 MB, free: 132 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.001899/0.001899, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 290.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 99.8 kB / 0.5954 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1386, allocations: 86.99 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003648/0.1423, allocations: 2.015 MB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1434, allocations: 0.5654 MB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1436, allocations: 4 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1438, allocations: 23.72 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1439, allocations: 39.61 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1442, allocations: 79.89 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1444, allocations: 224 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.1447, allocations: 116.4 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1448, allocations: 99.64 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.145, allocations: 103.5 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.145, allocations: 24 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.1451, allocations: 32 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.1452, allocations: 51.84 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1453, allocations: 115.4 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1455, allocations: 259.2 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1456, allocations: 0 / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1456, allocations: 0 / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1456, allocations: 0 / 0.6839 GB, free: 12.83 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.0007408/0.1463, allocations: 0.522 MB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1464, allocations: 8.031 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.1464, allocations: 58.73 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1465, allocations: 24.66 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1468, allocations: 248.7 kB / 0.6848 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1468, allocations: 16.38 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1469, allocations: 20.38 kB / 0.6848 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1473, allocations: 228.8 kB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1473, allocations: 3.984 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1473, allocations: 8 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1473, allocations: 4 kB / 0.685 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.1476, allocations: 135.9 kB / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.1485, allocations: 0.6011 MB / 0.6858 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.1489, allocations: 118.7 kB / 0.6859 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.149, allocations: 48.84 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.149, allocations: 4 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1491, allocations: 34.69 kB / 0.686 GB, free: 10.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1491, allocations: 0 / 0.686 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004427/0.1495, allocations: 177.6 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.1496, allocations: 132.5 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1498, allocations: 215.7 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1498, allocations: 29.8 kB / 0.6865 GB, free: 9.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.1499, allocations: 148 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.15, allocations: 31.62 kB / 0.6867 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.15, allocations: 41.7 kB / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.1501, allocations: 330.8 kB / 0.687 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1503, allocations: 43.98 kB / 0.6871 GB, free: 9.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1504, allocations: 84.27 kB / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1506, allocations: 96.5 kB / 0.6872 GB, free: 9.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1506, allocations: 0 / 0.6872 GB, free: 9.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003071/0.1509, allocations: 157.4 kB / 0.6874 GB, free: 9.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.151, allocations: 8 kB / 0.6874 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.151, allocations: 3.984 kB / 0.6874 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.151, allocations: 3.938 kB / 0.6874 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1511, allocations: 19.92 kB / 0.6874 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1511, allocations: 4 kB / 0.6874 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1513, allocations: 27.91 kB / 0.6874 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1513, allocations: 4 kB / 0.6874 GB, free: 8.953 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.0001099/0.1514, allocations: 134.5 kB / 0.6876 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.1515, allocations: 15.81 kB / 0.6876 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.1518, allocations: 150.9 kB / 0.6877 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1518, allocations: 3.938 kB / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1518, allocations: 4 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1518, allocations: 0 / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1521, allocations: 261.5 kB / 0.688 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1521, allocations: 8 kB / 0.688 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.1522, allocations: 19.92 kB / 0.688 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1522, allocations: 4 kB / 0.688 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1522, allocations: 4 kB / 0.688 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1523, allocations: 3.938 kB / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1523, allocations: 0 / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1526, allocations: 231.3 kB / 0.6882 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1526, allocations: 104.8 kB / 0.6883 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1527, allocations: 11.97 kB / 0.6884 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1528, allocations: 19.92 kB / 0.6884 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.1529, allocations: 27.95 kB / 0.6884 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1529, allocations: 0 / 0.6884 GB, free: 7.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.153, allocations: 152.6 kB / 0.6886 GB, free: 7.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1531, allocations: 0 / 0.6886 GB, free: 7.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1533, allocations: 31.91 kB / 0.6886 GB, free: 7.691 MB / 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.000571/0.1539, allocations: 0.7708 MB / 0.6893 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.1542, allocations: 123.9 kB / 0.6895 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1542, allocations: 0 / 0.6895 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1544, allocations: 51.92 kB / 0.6895 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1547, allocations: 23.92 kB / 0.6895 GB, free: 6.695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1569, allocations: 1.99 MB / 0.6915 GB, free: 4.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1572, allocations: 0.7318 MB / 0.6922 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.1573, allocations: 17.42 kB / 0.6922 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1574, allocations: 67.41 kB / 0.6923 GB, free: 3.793 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1574, allocations: 0 / 0.6923 GB, free: 3.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1769, allocations: 3.961 MB / 0.6961 GB, free: 12 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.477, allocations: 18.89 kB / 0.6962 GB, free: 15.99 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)