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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001186/0.001186, allocations: 172.7 kB / 15.95 MB, free: 208 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 266.9 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003971, allocations: 15.44 kB / 0.598 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001934/0.1389, allocations: 1.672 MB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.1397, allocations: 0.5296 MB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.1398, allocations: 4 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.072e-05/0.1399, allocations: 15.84 kB / 0.6867 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.14, allocations: 23.73 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1402, allocations: 51.92 kB / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1404, allocations: 196 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1406, allocations: 94.45 kB / 0.687 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1407, allocations: 67.64 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1408, allocations: 67.62 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1408, allocations: 7.984 kB / 0.6871 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-05/0.1409, allocations: 12 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.1409, allocations: 31.78 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.141, allocations: 57.64 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1412, allocations: 199.7 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1412, allocations: 0 / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1412, allocations: 0.7812 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1412, allocations: 0 / 0.6874 GB, free: 12.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.0006323/0.1419, allocations: 0.4921 MB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1419, allocations: 12.66 kB / 0.6879 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.142, allocations: 28.55 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1423, allocations: 248.3 kB / 0.6882 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1423, allocations: 12 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.1423, allocations: 25.33 kB / 0.6882 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1427, allocations: 228.6 kB / 0.6884 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1427, allocations: 0 / 0.6884 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1428, allocations: 8 kB / 0.6885 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1428, allocations: 4 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1431, allocations: 155.8 kB / 0.6886 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.144, allocations: 0.6011 MB / 0.6892 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.1443, allocations: 134.7 kB / 0.6893 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1444, allocations: 44.84 kB / 0.6894 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1445, allocations: 8 kB / 0.6894 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1445, allocations: 38.55 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1445, allocations: 0 / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004263/0.145, allocations: 177.6 kB / 0.6896 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.145, allocations: 132.5 kB / 0.6897 GB, free: 9.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1452, allocations: 214.9 kB / 0.6899 GB, free: 9.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1452, allocations: 33.69 kB / 0.6899 GB, free: 9.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.1453, allocations: 144.2 kB / 0.6901 GB, free: 9.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1454, allocations: 31.55 kB / 0.6901 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.1454, allocations: 0 / 0.6901 GB, free: 9.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1455, allocations: 330.8 kB / 0.6904 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1456, allocations: 55.98 kB / 0.6905 GB, free: 9.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1458, allocations: 88.2 kB / 0.6906 GB, free: 8.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1459, allocations: 56.69 kB / 0.6906 GB, free: 8.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1459, allocations: 4 kB / 0.6906 GB, free: 8.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000305/0.1462, allocations: 164 kB / 0.6908 GB, free: 8.742 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1462, allocations: 8 kB / 0.6908 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1463, allocations: 0 / 0.6908 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1463, allocations: 0 / 0.6908 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1464, allocations: 24.02 kB / 0.6908 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1464, allocations: 0 / 0.6908 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1465, allocations: 35.83 kB / 0.6908 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1466, allocations: 7.984 kB / 0.6908 GB, free: 8.668 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 ($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.0001199/0.1467, allocations: 143.8 kB / 0.691 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1467, allocations: 19.77 kB / 0.691 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.1471, allocations: 151.3 kB / 0.6911 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1471, allocations: 4 kB / 0.6911 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1471, allocations: 4.094 kB / 0.6912 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1471, allocations: 3.938 kB / 0.6912 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1474, allocations: 269.5 kB / 0.6914 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1474, allocations: 0 / 0.6914 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1475, allocations: 15.98 kB / 0.6914 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1475, allocations: 3.953 kB / 0.6914 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1475, allocations: 4.047 kB / 0.6914 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1475, allocations: 0 / 0.6914 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1475, allocations: 3.984 kB / 0.6914 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1479, allocations: 239.2 kB / 0.6917 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1479, allocations: 88.92 kB / 0.6918 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.148, allocations: 11.95 kB / 0.6918 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1481, allocations: 35.97 kB / 0.6918 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.1482, allocations: 19.95 kB / 0.6918 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1482, allocations: 7.984 kB / 0.6918 GB, free: 7.566 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1483, allocations: 148.6 kB / 0.692 GB, free: 7.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1483, allocations: 0 / 0.692 GB, free: 7.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1486, allocations: 39.84 kB / 0.692 GB, free: 7.383 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 (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.0001366/0.1488, allocations: 119.1 kB / 0.6921 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1491, allocations: 119.9 kB / 0.6922 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1491, allocations: 0 / 0.6922 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1492, allocations: 55.97 kB / 0.6923 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1495, allocations: 23.06 kB / 0.6923 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.1501, allocations: 392.3 kB / 0.6927 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1503, allocations: 0.7322 MB / 0.6934 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.783e-05/0.1504, allocations: 17.42 kB / 0.6934 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.1505, allocations: 15.44 kB / 0.6934 GB, free: 5.867 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1505, allocations: 0 / 0.6934 GB, free: 5.867 MB / 494.1 MB Notification: Performance of Templates: time 0.004453/0.155, allocations: 1.817 MB / 0.6952 GB, free: 4.094 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)