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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001557/0.001557, allocations: 197 kB / 16.14 MB, free: 6.66 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 287 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 94.3 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1223, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002711/0.1251, allocations: 2.078 MB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000808/0.1259, allocations: 0.5571 MB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.126, allocations: 4 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1261, allocations: 15.8 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.1262, allocations: 23.8 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1264, allocations: 71.94 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1266, allocations: 208 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1268, allocations: 116.5 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1269, allocations: 79.62 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.437e-05/0.127, allocations: 95.48 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.127, allocations: 16 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.1271, allocations: 19.98 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1271, allocations: 35.84 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.1272, allocations: 99.39 kB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1274, allocations: 259.1 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1274, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1274, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1274, allocations: 0 / 0.6831 GB, free: 13.42 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.0006277/0.1281, allocations: 0.5142 MB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1281, allocations: 8.031 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.1282, allocations: 54.73 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1282, allocations: 24.66 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1285, allocations: 256.7 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1285, allocations: 12.38 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1285, allocations: 20.38 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.1289, allocations: 232.6 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1289, allocations: 0 / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1289, allocations: 4 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1289, allocations: 4 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1292, allocations: 139.9 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.13, allocations: 0.5972 MB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1303, allocations: 118.7 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1304, allocations: 48.83 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1305, allocations: 8 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1305, allocations: 34.56 kB / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1305, allocations: 0 / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004145/0.1309, allocations: 177.4 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.131, allocations: 140.4 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1312, allocations: 207 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1312, allocations: 33.7 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.1313, allocations: 148.1 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1313, allocations: 31.64 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.1314, allocations: 33.7 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.1315, allocations: 326.8 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1316, allocations: 47.97 kB / 0.6862 GB, free: 9.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1317, allocations: 89.02 kB / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1319, allocations: 97.75 kB / 0.6864 GB, free: 9.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1319, allocations: 0 / 0.6864 GB, free: 9.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002763/0.1322, allocations: 153.4 kB / 0.6865 GB, free: 9.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1322, allocations: 4 kB / 0.6866 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1323, allocations: 4.031 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1323, allocations: 7.938 kB / 0.6866 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1324, allocations: 23.92 kB / 0.6866 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1324, allocations: 3.984 kB / 0.6866 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1325, allocations: 23.97 kB / 0.6866 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1326, allocations: 7.984 kB / 0.6866 GB, free: 9.551 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.0001065/0.1327, allocations: 138.5 kB / 0.6868 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.1327, allocations: 19.81 kB / 0.6868 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.133, allocations: 142.9 kB / 0.6869 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.133, allocations: 3.938 kB / 0.6869 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.133, allocations: 0 / 0.6869 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.133, allocations: 0 / 0.6869 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1333, allocations: 269.5 kB / 0.6872 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1333, allocations: 3.984 kB / 0.6872 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.351e-05/0.1334, allocations: 16.41 kB / 0.6872 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1334, allocations: 4 kB / 0.6872 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1334, allocations: 7.984 kB / 0.6872 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1334, allocations: 3.938 kB / 0.6872 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1334, allocations: 0 / 0.6872 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1337, allocations: 231.2 kB / 0.6874 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.1338, allocations: 96.8 kB / 0.6875 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1338, allocations: 12 kB / 0.6875 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.134, allocations: 23.91 kB / 0.6875 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.134, allocations: 19.97 kB / 0.6876 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1341, allocations: 7.984 kB / 0.6876 GB, free: 8.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1342, allocations: 151.2 kB / 0.6877 GB, free: 8.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 0.6877 GB, free: 8.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1344, allocations: 31.91 kB / 0.6878 GB, free: 8.293 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.0005306/0.135, allocations: 0.7747 MB / 0.6885 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.1352, allocations: 107.9 kB / 0.6886 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1352, allocations: 4 kB / 0.6886 GB, free: 7.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1354, allocations: 55.98 kB / 0.6887 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1357, allocations: 29.17 kB / 0.6887 GB, free: 7.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1378, allocations: 2.034 MB / 0.6907 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1381, allocations: 0.7321 MB / 0.6914 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.22e-05/0.1382, allocations: 21.42 kB / 0.6914 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1383, allocations: 63.41 kB / 0.6915 GB, free: 4.352 MB / 494.1 MB Notification: Performance of SimCode: time 2.375e-06/0.1383, allocations: 3.938 kB / 0.6915 GB, free: 4.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.252/1.39, allocations: 3.6 MB / 0.695 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.391, allocations: 247.8 kB / 0.6952 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.836, allocations: 5.812 kB / 0.6952 GB, free: 0.6875 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)