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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8093/0.8093, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 188.6 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 88.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 279.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.511e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4649, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.6173, allocations: 110.9 MB / 0.8657 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.6176, allocations: 95.75 kB / 0.8658 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009039/0.6267, allocations: 3.313 MB / 0.869 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6267, allocations: 0 / 0.869 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.6268, allocations: 4 kB / 0.869 GB, free: 13.55 MB / 0.5417 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.0007489/0.6275, allocations: 477.9 kB / 0.8695 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.6276, allocations: 8.031 kB / 0.8695 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.536e-05/0.6277, allocations: 31.7 kB / 0.8695 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.628, allocations: 231.5 kB / 0.8697 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.6281, allocations: 12 kB / 0.8697 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6281, allocations: 8 kB / 0.8698 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002593/0.6284, allocations: 111.8 kB / 0.8699 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.6287, allocations: 181 kB / 0.87 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6287, allocations: 0 / 0.87 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.6287, allocations: 3.984 kB / 0.87 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6288, allocations: 4 kB / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.6298, allocations: 0.5588 MB / 0.8706 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.6301, allocations: 118.7 kB / 0.8707 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.6302, allocations: 36.86 kB / 0.8707 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.6302, allocations: 4 kB / 0.8707 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6303, allocations: 34.56 kB / 0.8708 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.6303, allocations: 0 / 0.8708 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0003403/0.6306, allocations: 121.5 kB / 0.8709 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.6307, allocations: 128.5 kB / 0.871 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.6309, allocations: 158.4 kB / 0.8712 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.6309, allocations: 25.7 kB / 0.8712 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.6311, allocations: 152.2 kB / 0.8713 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.6311, allocations: 27.61 kB / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.6311, allocations: 0 / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6312, allocations: 322.8 kB / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.6313, allocations: 43.98 kB / 0.8717 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/0.6314, allocations: 59.44 kB / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.6315, allocations: 36.8 kB / 0.8718 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6315, allocations: 0 / 0.8718 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002185/0.6318, allocations: 126.6 kB / 0.8719 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6318, allocations: 5.406 kB / 0.8719 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6318, allocations: 3.984 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6318, allocations: 4 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.6319, allocations: 19.98 kB / 0.8719 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6319, allocations: 3.828 kB / 0.872 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.6321, allocations: 35.88 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.6321, allocations: 3.984 kB / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001264/0.6323, allocations: 112.9 kB / 0.8721 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.6323, allocations: 15.81 kB / 0.8721 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.6326, allocations: 119.5 kB / 0.8722 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.6326, allocations: 4 kB / 0.8722 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6326, allocations: 3.938 kB / 0.8722 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6326, allocations: 0 / 0.8722 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.6329, allocations: 238 kB / 0.8725 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6329, allocations: 0 / 0.8725 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.633, allocations: 19.98 kB / 0.8725 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.633, allocations: 0 / 0.8725 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.6331, allocations: 4 kB / 0.8725 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6331, allocations: 192 / 0.8725 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6331, allocations: 0 / 0.8725 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.6333, allocations: 215.2 kB / 0.8727 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.6334, allocations: 88.92 kB / 0.8728 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.6335, allocations: 8 kB / 0.8728 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.6336, allocations: 31.97 kB / 0.8728 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.6337, allocations: 27.98 kB / 0.8728 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.6338, allocations: 0 / 0.8728 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001182/0.6339, allocations: 133.2 kB / 0.873 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6339, allocations: 0 / 0.873 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002898/0.6342, allocations: 35.94 kB / 0.873 GB, free: 9.137 MB / 0.5417 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) * 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.0001996/0.6344, allocations: 103.2 kB / 0.8731 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.6346, allocations: 95.86 kB / 0.8732 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6346, allocations: 0 / 0.8732 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.6347, allocations: 39.94 kB / 0.8732 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.635, allocations: 17.16 kB / 0.8732 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.6355, allocations: 201.8 kB / 0.8734 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.6359, allocations: 0.7396 MB / 0.8742 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.135e-05/0.636, allocations: 21.2 kB / 0.8742 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.6361, allocations: 19.42 kB / 0.8742 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6361, allocations: 288 / 0.8742 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of Templates: time 0.00479/0.6409, allocations: 1.625 MB / 0.8758 GB, free: 6.277 MB / 0.5417 GB 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)