Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00148/0.00148, allocations: 101.9 kB / 16.64 MB, free: 6.816 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.001472/0.001472, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.455/1.455, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8168/0.8168, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.4943 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 78.56 MB / 0.571 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00327/0.4073, allocations: 2.079 MB / 0.5731 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.4083, allocations: 0.5424 MB / 0.5736 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.4084, allocations: 9.156 kB / 0.5736 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.4085, allocations: 13.12 kB / 0.5736 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.4086, allocations: 26.61 kB / 0.5736 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.409, allocations: 75.56 kB / 0.5737 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.4092, allocations: 223 kB / 0.5739 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.4094, allocations: 115.4 kB / 0.574 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.4096, allocations: 96.83 kB / 0.5741 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.4097, allocations: 96.22 kB / 0.5742 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.4098, allocations: 28.2 kB / 0.5742 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.4098, allocations: 34.05 kB / 0.5743 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.4099, allocations: 56.8 kB / 0.5743 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.893e-05/0.41, allocations: 106.1 kB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.4103, allocations: 205.8 kB / 0.5746 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4103, allocations: 2.891 kB / 0.5746 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4103, allocations: 0 / 0.5746 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4103, allocations: 0 / 0.5746 GB, free: 29.2 MB / 446.1 MB 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.0007377/0.4111, allocations: 0.513 MB / 0.5751 GB, free: 28.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4111, allocations: 10.38 kB / 0.5751 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.4112, allocations: 27.77 kB / 0.5752 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.4115, allocations: 260.6 kB / 0.5754 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.4115, allocations: 17.59 kB / 0.5754 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.4116, allocations: 19.66 kB / 0.5754 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.412, allocations: 227.8 kB / 0.5757 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.412, allocations: 0.6094 kB / 0.5757 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.4121, allocations: 6.688 kB / 0.5757 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4121, allocations: 5.438 kB / 0.5757 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.4124, allocations: 140.3 kB / 0.5758 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009502/0.4134, allocations: 0.59 MB / 0.5764 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.4137, allocations: 127.2 kB / 0.5765 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.4139, allocations: 54.72 kB / 0.5766 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.4139, allocations: 3.344 kB / 0.5766 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.414, allocations: 33.56 kB / 0.5766 GB, free: 27.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.414, allocations: 0.8125 kB / 0.5766 GB, free: 27.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004626/0.4144, allocations: 172.8 kB / 0.5768 GB, free: 27.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4145, allocations: 136 kB / 0.5769 GB, free: 27.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.4147, allocations: 218.7 kB / 0.5771 GB, free: 27.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4147, allocations: 34.48 kB / 0.5771 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.4148, allocations: 143.9 kB / 0.5773 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4148, allocations: 31.42 kB / 0.5773 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.4149, allocations: 41.64 kB / 0.5773 GB, free: 27.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.415, allocations: 326 kB / 0.5776 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4151, allocations: 47.11 kB / 0.5777 GB, free: 26.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4152, allocations: 87.45 kB / 0.5778 GB, free: 26.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.4154, allocations: 94.39 kB / 0.5779 GB, free: 26.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4154, allocations: 0.5938 kB / 0.5779 GB, free: 26.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002866/0.4157, allocations: 150.3 kB / 0.578 GB, free: 26.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4158, allocations: 5.5 kB / 0.578 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4158, allocations: 4.547 kB / 0.578 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4158, allocations: 1.375 kB / 0.578 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4159, allocations: 22.19 kB / 0.578 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4159, allocations: 0 / 0.578 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4161, allocations: 29.22 kB / 0.5781 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4161, allocations: 8.734 kB / 0.5781 GB, free: 26.62 MB / 446.1 MB 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.0001142/0.4162, allocations: 134.8 kB / 0.5782 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.4163, allocations: 16.77 kB / 0.5782 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.4166, allocations: 150.4 kB / 0.5784 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4166, allocations: 5.984 kB / 0.5784 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4166, allocations: 4.938 kB / 0.5784 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4167, allocations: 4.547 kB / 0.5784 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.4169, allocations: 268.1 kB / 0.5786 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4169, allocations: 1.375 kB / 0.5786 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.417, allocations: 18.41 kB / 0.5787 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.417, allocations: 4.547 kB / 0.5787 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4171, allocations: 6.438 kB / 0.5787 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4171, allocations: 0.5625 kB / 0.5787 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4171, allocations: 1.375 kB / 0.5787 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.4174, allocations: 229.5 kB / 0.5789 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.4174, allocations: 99.59 kB / 0.579 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.4174, allocations: 6.688 kB / 0.579 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4176, allocations: 23.8 kB / 0.579 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.4177, allocations: 23.23 kB / 0.579 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4177, allocations: 4.109 kB / 0.579 GB, free: 25.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4178, allocations: 148.9 kB / 0.5792 GB, free: 25.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4178, allocations: 0 / 0.5792 GB, free: 25.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.4181, allocations: 44.72 kB / 0.5792 GB, free: 25.76 MB / 446.1 MB 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.0001421/0.4183, allocations: 107.9 kB / 0.5793 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.4186, allocations: 114.2 kB / 0.5794 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4186, allocations: 1.312 kB / 0.5794 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.4187, allocations: 52.83 kB / 0.5795 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.4191, allocations: 21.36 kB / 0.5795 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.4197, allocations: 431.2 kB / 0.5799 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.4199, allocations: 0.7303 MB / 0.5806 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.42, allocations: 21.2 kB / 0.5806 GB, free: 24.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.42, allocations: 0.9062 kB / 0.5806 GB, free: 24.58 MB / 446.1 MB Notification: Performance of Templates: time 0.004572/0.4245, allocations: 2.37 MB / 0.583 GB, free: 23.57 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)