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.001471/0.001471, allocations: 108.8 kB / 16.41 MB, free: 6.484 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.00142/0.00142, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 293.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4499, allocations: 86.97 MB / 0.7671 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003304/0.4532, allocations: 2.029 MB / 0.769 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4543, allocations: 0.5572 MB / 0.7696 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.4544, allocations: 7.938 kB / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.4545, allocations: 19.73 kB / 0.7696 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.4546, allocations: 39.61 kB / 0.7696 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.4549, allocations: 83.84 kB / 0.7697 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.4551, allocations: 228 kB / 0.7699 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.4553, allocations: 90.02 kB / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.4555, allocations: 91.62 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.4556, allocations: 99.55 kB / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.4557, allocations: 24 kB / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.4557, allocations: 31.98 kB / 0.7703 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.4558, allocations: 59.83 kB / 0.7703 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.4559, allocations: 111.3 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.4563, allocations: 284.5 kB / 0.7707 GB, free: 12 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4563, allocations: 3.938 kB / 0.7707 GB, free: 8 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4563, allocations: 0 / 0.7707 GB, free: 8 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4563, allocations: 0 / 0.7707 GB, free: 8 kB / 0.5294 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.0008698/0.4572, allocations: 0.5257 MB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4572, allocations: 8.031 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.4573, allocations: 24.8 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.4576, allocations: 256.8 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4576, allocations: 20.36 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.4577, allocations: 16.38 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.4581, allocations: 237.5 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4581, allocations: 0 / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.4581, allocations: 4 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4581, allocations: 4 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.4585, allocations: 139.9 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.4594, allocations: 0.5936 MB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.4598, allocations: 114.7 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4599, allocations: 48.83 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.4599, allocations: 8 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.46, allocations: 34.56 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.46, allocations: 0 / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.4604, allocations: 165.7 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.4605, allocations: 140.5 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4608, allocations: 215.1 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.4608, allocations: 37.64 kB / 0.7732 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4609, allocations: 144.3 kB / 0.7733 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.4609, allocations: 35.73 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.461, allocations: 33.7 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4612, allocations: 326.8 kB / 0.7737 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.4613, allocations: 47.97 kB / 0.7738 GB, free: 12.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.4614, allocations: 88.27 kB / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4616, allocations: 87.69 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4616, allocations: 3.938 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003199/0.462, allocations: 157.8 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.462, allocations: 8.031 kB / 0.7741 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.462, allocations: 4 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.462, allocations: 0 / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4621, allocations: 27.8 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4621, allocations: 0 / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.4623, allocations: 31.92 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.4623, allocations: 4 kB / 0.7742 GB, free: 12.19 MB / 0.545 GB 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.0001381/0.4624, allocations: 140.6 kB / 0.7743 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.4625, allocations: 15.91 kB / 0.7743 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.4628, allocations: 143 kB / 0.7744 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4628, allocations: 3.938 kB / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4628, allocations: 4 kB / 0.7745 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4628, allocations: 0 / 0.7745 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.4631, allocations: 269.5 kB / 0.7747 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4631, allocations: 4 kB / 0.7747 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4633, allocations: 23.92 kB / 0.7747 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4633, allocations: 0 / 0.7747 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4633, allocations: 11.98 kB / 0.7747 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.4633, allocations: 3.938 kB / 0.7748 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4633, allocations: 0 / 0.7748 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4636, allocations: 231.3 kB / 0.775 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.4637, allocations: 93.02 kB / 0.7751 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.4637, allocations: 8 kB / 0.7751 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4639, allocations: 23.91 kB / 0.7751 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.4639, allocations: 23.97 kB / 0.7751 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.464, allocations: 48 / 0.7751 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001402/0.4641, allocations: 155.2 kB / 0.7753 GB, free: 10.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4641, allocations: 0 / 0.7753 GB, free: 10.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002855/0.4644, allocations: 39.89 kB / 0.7753 GB, free: 10.93 MB / 0.545 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 (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.0001826/0.4646, allocations: 115.4 kB / 0.7754 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.4649, allocations: 107.8 kB / 0.7755 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4649, allocations: 0 / 0.7755 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.465, allocations: 55.91 kB / 0.7756 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4654, allocations: 17.62 kB / 0.7756 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.466, allocations: 328.8 kB / 0.7759 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4664, allocations: 0.728 MB / 0.7766 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.399e-05/0.4665, allocations: 17.42 kB / 0.7766 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.4665, allocations: 23.44 kB / 0.7766 GB, free: 9.48 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4665, allocations: 0 / 0.7766 GB, free: 9.48 MB / 0.545 GB Notification: Performance of Templates: time 0.005715/0.4722, allocations: 2.198 MB / 0.7788 GB, free: 7.332 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)