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.007454/0.007454, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001542/0.001542, allocations: 193.5 kB / 16.68 MB, free: 5.973 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 287.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001569, allocations: 95.84 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4359, allocations: 86.98 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003079/0.439, allocations: 2.025 MB / 0.7684 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.4399, allocations: 0.5572 MB / 0.7689 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.4401, allocations: 7.938 kB / 0.7689 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.4403, allocations: 27.67 kB / 0.7689 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.4403, allocations: 39.59 kB / 0.769 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.4407, allocations: 71.92 kB / 0.7691 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.441, allocations: 227.9 kB / 0.7693 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.4413, allocations: 118.9 kB / 0.7694 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.4415, allocations: 95.62 kB / 0.7695 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.4416, allocations: 91.55 kB / 0.7696 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.4417, allocations: 24 kB / 0.7696 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.4418, allocations: 35.98 kB / 0.7696 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.4418, allocations: 55.83 kB / 0.7697 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.4419, allocations: 115.3 kB / 0.7698 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.4423, allocations: 284.4 kB / 0.7701 GB, free: 140 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4423, allocations: 3.984 kB / 0.7701 GB, free: 136 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4423, allocations: 0 / 0.7701 GB, free: 136 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4423, allocations: 4 kB / 0.7701 GB, free: 132 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.0007035/0.443, allocations: 0.5145 MB / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.443, allocations: 8.031 kB / 0.7706 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.4431, allocations: 24.8 kB / 0.7706 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.4434, allocations: 256.8 kB / 0.7708 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4434, allocations: 16.38 kB / 0.7709 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4435, allocations: 28.3 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.4439, allocations: 233.1 kB / 0.7711 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4439, allocations: 0 / 0.7711 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4439, allocations: 4 kB / 0.7711 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.4439, allocations: 4 kB / 0.7711 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.4442, allocations: 151.9 kB / 0.7713 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.4451, allocations: 0.582 MB / 0.7718 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.4454, allocations: 122.7 kB / 0.7719 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4456, allocations: 52.83 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.4456, allocations: 0 / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4457, allocations: 38.56 kB / 0.772 GB, free: 13.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.4457, allocations: 0 / 0.772 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004788/0.4461, allocations: 177.6 kB / 0.7722 GB, free: 13.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.4463, allocations: 132.5 kB / 0.7723 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4465, allocations: 215.1 kB / 0.7725 GB, free: 13.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4465, allocations: 33.7 kB / 0.7726 GB, free: 13.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4466, allocations: 148.3 kB / 0.7727 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4467, allocations: 35.67 kB / 0.7727 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.4467, allocations: 33.7 kB / 0.7728 GB, free: 13.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4469, allocations: 330.8 kB / 0.7731 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.447, allocations: 47.97 kB / 0.7731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4472, allocations: 88.2 kB / 0.7732 GB, free: 12.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4474, allocations: 88.44 kB / 0.7733 GB, free: 12.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4474, allocations: 0 / 0.7733 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002954/0.4477, allocations: 157.5 kB / 0.7735 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4477, allocations: 4 kB / 0.7735 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4477, allocations: 0 / 0.7735 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4477, allocations: 3.938 kB / 0.7735 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4478, allocations: 27.92 kB / 0.7735 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4478, allocations: 384 / 0.7735 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.448, allocations: 27.95 kB / 0.7735 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.448, allocations: 4 kB / 0.7735 GB, free: 12.31 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.0001146/0.4481, allocations: 133.8 kB / 0.7736 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.4482, allocations: 27.8 kB / 0.7737 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.4485, allocations: 150.9 kB / 0.7738 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4485, allocations: 4 kB / 0.7738 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4486, allocations: 0 / 0.7738 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4486, allocations: 0 / 0.7738 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4488, allocations: 273.5 kB / 0.7741 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4488, allocations: 0 / 0.7741 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.4489, allocations: 15.98 kB / 0.7741 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.449, allocations: 0 / 0.7741 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.449, allocations: 11.86 kB / 0.7741 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.449, allocations: 0 / 0.7741 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.449, allocations: 4 kB / 0.7741 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.4493, allocations: 231.4 kB / 0.7743 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.4494, allocations: 96.91 kB / 0.7744 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4494, allocations: 11.98 kB / 0.7744 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.4496, allocations: 23.95 kB / 0.7745 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.4496, allocations: 19.97 kB / 0.7745 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4497, allocations: 8 kB / 0.7745 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001258/0.4498, allocations: 151.2 kB / 0.7746 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4498, allocations: 0 / 0.7746 GB, free: 11.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002674/0.4501, allocations: 39.89 kB / 0.7747 GB, free: 11.04 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.0001372/0.4502, allocations: 115.2 kB / 0.7748 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4505, allocations: 104.1 kB / 0.7749 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4505, allocations: 8 kB / 0.7749 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.4507, allocations: 59.91 kB / 0.7749 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.451, allocations: 16 kB / 0.775 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.4515, allocations: 320.8 kB / 0.7753 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.4518, allocations: 0.728 MB / 0.776 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.123e-05/0.4519, allocations: 21.41 kB / 0.776 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.452, allocations: 23.44 kB / 0.776 GB, free: 9.586 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.452, allocations: 0 / 0.776 GB, free: 9.586 MB / 0.545 GB Notification: Performance of Templates: time 0.004744/0.4567, allocations: 2.189 MB / 0.7782 GB, free: 7.445 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)