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.001353/0.001353, allocations: 111.6 kB / 16.37 MB, free: 6.348 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.00115/0.00115, allocations: 192.3 kB / 17.3 MB, free: 5.895 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002259/0.002259, allocations: 291.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 100.2 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.463, allocations: 86.98 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003261/0.4663, allocations: 2.021 MB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4674, allocations: 0.565 MB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4676, allocations: 4 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.4677, allocations: 23.73 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.4678, allocations: 39.53 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.4682, allocations: 79.84 kB / 0.7697 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4684, allocations: 224 kB / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.4686, allocations: 119.3 kB / 0.77 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.4688, allocations: 87.59 kB / 0.7701 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.4689, allocations: 107.5 kB / 0.7702 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.4689, allocations: 27.94 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.469, allocations: 28 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.4691, allocations: 55.83 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4692, allocations: 107.4 kB / 0.7704 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.4695, allocations: 275.1 kB / 0.7706 GB, free: 216 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4695, allocations: 3.938 kB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4695, allocations: 0 / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4695, allocations: 4 kB / 0.7707 GB, free: 208 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.0008032/0.4704, allocations: 0.5128 MB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4704, allocations: 12.03 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.4705, allocations: 24.66 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.4708, allocations: 248.6 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4708, allocations: 24.38 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.4709, allocations: 20.31 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.4713, allocations: 233.5 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4713, allocations: 0 / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4713, allocations: 4 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.4713, allocations: 4 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.4717, allocations: 143.9 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.4726, allocations: 0.5895 MB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.4729, allocations: 118.8 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.4731, allocations: 56.97 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.4731, allocations: 3.984 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4732, allocations: 34.56 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.4732, allocations: 0 / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004498/0.4736, allocations: 169.4 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.4737, allocations: 132.5 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4739, allocations: 227.3 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4739, allocations: 33.7 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.474, allocations: 132.3 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.4741, allocations: 23.66 kB / 0.7733 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.4741, allocations: 53.53 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4742, allocations: 330.8 kB / 0.7737 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4744, allocations: 43.97 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4745, allocations: 88.02 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.4747, allocations: 101.6 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4748, allocations: 3.938 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.475, allocations: 149.4 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4751, allocations: 8 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4751, allocations: 0 / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4751, allocations: 0 / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4752, allocations: 19.92 kB / 0.7741 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4752, allocations: 4 kB / 0.7741 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4754, allocations: 35.84 kB / 0.7741 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4754, allocations: 4 kB / 0.7741 GB, free: 12.39 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.0001164/0.4755, allocations: 133.8 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.4756, allocations: 15.81 kB / 0.7742 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.4759, allocations: 147 kB / 0.7744 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.4759, allocations: 11.94 kB / 0.7744 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4759, allocations: 0 / 0.7744 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4759, allocations: 0 / 0.7744 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.4762, allocations: 269.5 kB / 0.7747 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4762, allocations: 0 / 0.7747 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.4763, allocations: 15.98 kB / 0.7747 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4763, allocations: 0 / 0.7747 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4764, allocations: 11.98 kB / 0.7747 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4764, allocations: 3.938 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4764, allocations: 0 / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.4767, allocations: 227.3 kB / 0.7749 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.4767, allocations: 97.09 kB / 0.775 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.4768, allocations: 0 / 0.775 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.4769, allocations: 27.86 kB / 0.775 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.477, allocations: 31.98 kB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.477, allocations: 0 / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001122/0.4772, allocations: 151.2 kB / 0.7752 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4772, allocations: 0 / 0.7752 GB, free: 11.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002648/0.4774, allocations: 39.84 kB / 0.7752 GB, free: 11.14 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.0001634/0.4776, allocations: 115.2 kB / 0.7753 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.4779, allocations: 115.8 kB / 0.7755 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.478, allocations: 4.062 kB / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4781, allocations: 55.97 kB / 0.7755 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4785, allocations: 16 kB / 0.7755 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.4791, allocations: 354.8 kB / 0.7759 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4794, allocations: 0.728 MB / 0.7766 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.4795, allocations: 23.42 kB / 0.7766 GB, free: 9.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4795, allocations: 0 / 0.7766 GB, free: 9.668 MB / 0.545 GB Notification: Performance of Templates: time 0.004257/0.4838, allocations: 2.377 MB / 0.7789 GB, free: 7.305 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)