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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.806/0.806, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 182 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 426.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 90.34 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001589/0.001589, allocations: 266.5 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 16 kB / 0.662 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4855, allocations: 110.2 MB / 0.8471 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4858, allocations: 87.94 kB / 0.8472 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009478/0.4953, allocations: 3.32 MB / 0.8504 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4953, allocations: 0 / 0.8504 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.4954, allocations: 4 kB / 0.8505 GB, free: 12.54 MB / 0.5261 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.0007279/0.4961, allocations: 0.489 MB / 0.8509 GB, free: 12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4962, allocations: 12.03 kB / 0.8509 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.4963, allocations: 24.66 kB / 0.851 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.4966, allocations: 244.6 kB / 0.8512 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4966, allocations: 12.38 kB / 0.8512 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.4966, allocations: 20.38 kB / 0.8512 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.4971, allocations: 229.3 kB / 0.8514 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4971, allocations: 192 / 0.8514 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.4971, allocations: 7.938 kB / 0.8515 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4971, allocations: 8 kB / 0.8515 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.4975, allocations: 143.9 kB / 0.8516 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.4985, allocations: 0.6129 MB / 0.8522 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.4989, allocations: 130.7 kB / 0.8523 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.499, allocations: 60.77 kB / 0.8524 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.4991, allocations: 4 kB / 0.8524 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4991, allocations: 38.69 kB / 0.8524 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4991, allocations: 0 / 0.8524 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0004814/0.4996, allocations: 185.4 kB / 0.8526 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.4997, allocations: 132.5 kB / 0.8527 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4999, allocations: 215 kB / 0.8529 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.4999, allocations: 33.7 kB / 0.853 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5001, allocations: 140.3 kB / 0.8531 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.5001, allocations: 31.55 kB / 0.8531 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.5001, allocations: 4 kB / 0.8531 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5003, allocations: 327.2 kB / 0.8534 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5004, allocations: 55.97 kB / 0.8535 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.5005, allocations: 79.41 kB / 0.8536 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.5008, allocations: 94.95 kB / 0.8537 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5008, allocations: 3.938 kB / 0.8537 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002923/0.5011, allocations: 157.4 kB / 0.8538 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5011, allocations: 4 kB / 0.8538 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5011, allocations: 4 kB / 0.8538 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5011, allocations: 0 / 0.8538 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5012, allocations: 19.98 kB / 0.8538 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5013, allocations: 7.938 kB / 0.8538 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.5014, allocations: 35.88 kB / 0.8539 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5014, allocations: 4 kB / 0.8539 GB, free: 8.75 MB / 0.5261 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 () * Number of clocked 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.0001319/0.5016, allocations: 139.1 kB / 0.854 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.5016, allocations: 27.84 kB / 0.854 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.502, allocations: 159 kB / 0.8542 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.502, allocations: 0 / 0.8542 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.502, allocations: 3.938 kB / 0.8542 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.502, allocations: 0 / 0.8542 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.5023, allocations: 273.5 kB / 0.8545 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5023, allocations: 4 kB / 0.8545 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.5024, allocations: 15.98 kB / 0.8545 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5025, allocations: 4 kB / 0.8545 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5025, allocations: 4 kB / 0.8545 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5025, allocations: 3.938 kB / 0.8545 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5025, allocations: 7.938 kB / 0.8545 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.5028, allocations: 239.2 kB / 0.8547 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.5029, allocations: 92.83 kB / 0.8548 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.5029, allocations: 4 kB / 0.8548 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.5031, allocations: 35.97 kB / 0.8549 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.5032, allocations: 31.88 kB / 0.8549 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5032, allocations: 4 kB / 0.8549 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001289/0.5034, allocations: 156.8 kB / 0.855 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5034, allocations: 0 / 0.855 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002623/0.5036, allocations: 39.94 kB / 0.8551 GB, free: 7.43 MB / 0.5261 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) * 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.0001817/0.5038, allocations: 119 kB / 0.8552 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.5041, allocations: 108 kB / 0.8553 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5041, allocations: 3.938 kB / 0.8553 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5043, allocations: 55.98 kB / 0.8554 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5046, allocations: 23.98 kB / 0.8554 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.5052, allocations: 378 kB / 0.8557 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.5056, allocations: 0.7324 MB / 0.8564 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.082e-05/0.5057, allocations: 13.42 kB / 0.8565 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.5057, allocations: 27.42 kB / 0.8565 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.5057, allocations: 0 / 0.8565 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of Templates: time 0.004892/0.5106, allocations: 1.897 MB / 0.8583 GB, free: 4.055 MB / 0.5261 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)