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: "" <> 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/BuildingSystems 2.0.0-master/package.mo): time 0.6841/0.6841, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 182.4 kB / 187.3 MB, free: 11.88 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.231/1.231, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0007653/0.0007653, allocations: 91.47 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00163/0.00163, allocations: 272.5 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.52e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3688, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.477, allocations: 111.6 MB / 0.8733 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4773, allocations: 96.58 kB / 0.8734 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009108/0.4864, allocations: 3.33 MB / 0.8767 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4864, allocations: 4 kB / 0.8767 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.982e-05/0.4865, allocations: 8 kB / 0.8767 GB, free: 9.535 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.0007881/0.4873, allocations: 485.9 kB / 0.8771 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4874, allocations: 11.97 kB / 0.8772 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.88e-05/0.4875, allocations: 46.55 kB / 0.8772 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.4875, allocations: 35.72 kB / 0.8772 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.4879, allocations: 227.6 kB / 0.8775 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.4879, allocations: 19.78 kB / 0.8775 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.488, allocations: 20 kB / 0.8775 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.4884, allocations: 205 kB / 0.8777 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4884, allocations: 0 / 0.8777 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.4885, allocations: 4 kB / 0.8777 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4885, allocations: 8 kB / 0.8777 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.4887, allocations: 119.8 kB / 0.8778 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4898, allocations: 0.6246 MB / 0.8784 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4902, allocations: 114.7 kB / 0.8785 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.4903, allocations: 41.64 kB / 0.8786 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.4903, allocations: 4 kB / 0.8786 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4903, allocations: 38.56 kB / 0.8786 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4903, allocations: 0 / 0.8786 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002815/0.4906, allocations: 121.6 kB / 0.8787 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.4907, allocations: 128.5 kB / 0.8788 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.4909, allocations: 190 kB / 0.879 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.491, allocations: 33.69 kB / 0.8791 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.4911, allocations: 132.3 kB / 0.8792 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.4911, allocations: 35.53 kB / 0.8792 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.4911, allocations: 4 kB / 0.8792 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4912, allocations: 334.8 kB / 0.8795 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.4913, allocations: 36 kB / 0.8796 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.4914, allocations: 69.69 kB / 0.8796 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.4915, allocations: 27.98 kB / 0.8797 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4915, allocations: 3.938 kB / 0.8797 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002084/0.4917, allocations: 129.5 kB / 0.8798 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4918, allocations: 13.41 kB / 0.8798 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4918, allocations: 0 / 0.8798 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4918, allocations: 4.047 kB / 0.8798 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4919, allocations: 19.92 kB / 0.8798 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4919, allocations: 4 kB / 0.8798 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.4921, allocations: 39.81 kB / 0.8799 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.4921, allocations: 8 kB / 0.8799 GB, free: 5.984 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 8.133e-05/0.4922, allocations: 116.9 kB / 0.88 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.4923, allocations: 15.81 kB / 0.88 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4925, allocations: 127.1 kB / 0.8801 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4925, allocations: 0 / 0.8801 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4925, allocations: 3.953 kB / 0.8801 GB, free: 5.719 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4925, allocations: 0 / 0.8801 GB, free: 5.719 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.4928, allocations: 277.5 kB / 0.8804 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4928, allocations: 0 / 0.8804 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.4929, allocations: 15.98 kB / 0.8804 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4929, allocations: 4 kB / 0.8804 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.493, allocations: 3.938 kB / 0.8804 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.493, allocations: 2.188 kB / 0.8804 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.493, allocations: 0 / 0.8804 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.4932, allocations: 219.2 kB / 0.8806 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.4933, allocations: 96.91 kB / 0.8807 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.4933, allocations: 8 kB / 0.8807 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4935, allocations: 31.97 kB / 0.8808 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.4936, allocations: 23.95 kB / 0.8808 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4936, allocations: 8 kB / 0.8808 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001222/0.4937, allocations: 156.6 kB / 0.8809 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4937, allocations: 0 / 0.8809 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002427/0.494, allocations: 39.91 kB / 0.881 GB, free: 4.77 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.0005136/0.4945, allocations: 0.7668 MB / 0.8817 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.4947, allocations: 93.31 kB / 0.8818 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4947, allocations: 0 / 0.8818 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.4948, allocations: 47.98 kB / 0.8819 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.495, allocations: 29.5 kB / 0.8819 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.4956, allocations: 256.6 kB / 0.8821 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4959, allocations: 0.7439 MB / 0.8829 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.128e-05/0.496, allocations: 17.23 kB / 0.8829 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4961, allocations: 67.41 kB / 0.8829 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.4961, allocations: 0 / 0.8829 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.5108, allocations: 3.735 MB / 0.8866 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.511, allocations: 199 kB / 0.8868 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.065, allocations: 3.938 kB / 0.8868 GB, free: 14.95 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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)