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.0008397/0.0008398, allocations: 88.39 kB / 16.67 MB, free: 6.602 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.0008692/0.0008696, allocations: 181.5 kB / 17.58 MB, free: 6.184 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.39/1.39, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7553/0.7553, allocations: 115.5 MB / 408.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003589, allocations: 8 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4402, allocations: 77.52 MB / 0.5606 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002211/0.4425, allocations: 1.714 MB / 0.5623 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.4435, allocations: 0.5372 MB / 0.5628 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.4436, allocations: 2.344 kB / 0.5628 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.4437, allocations: 14.06 kB / 0.5628 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.4438, allocations: 31.02 kB / 0.5628 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.4441, allocations: 69.34 kB / 0.5629 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.4443, allocations: 212.3 kB / 0.5631 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.4446, allocations: 110.3 kB / 0.5632 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4447, allocations: 60.59 kB / 0.5633 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.4448, allocations: 75.86 kB / 0.5633 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.4449, allocations: 6.344 kB / 0.5633 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.4449, allocations: 17.56 kB / 0.5634 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.445, allocations: 34.36 kB / 0.5634 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.4451, allocations: 106.3 kB / 0.5635 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.4454, allocations: 197.3 kB / 0.5637 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4454, allocations: 0 / 0.5637 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4454, allocations: 1.281 kB / 0.5637 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4454, allocations: 1.062 kB / 0.5637 GB, free: 34.12 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.0007074/0.4461, allocations: 0.4921 MB / 0.5642 GB, free: 33.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4462, allocations: 9.875 kB / 0.5642 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.4462, allocations: 26.5 kB / 0.5642 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.4465, allocations: 257.1 kB / 0.5645 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.4466, allocations: 19.53 kB / 0.5645 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.4466, allocations: 16.81 kB / 0.5645 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.447, allocations: 233.2 kB / 0.5647 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4471, allocations: 0 / 0.5647 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.4471, allocations: 6.562 kB / 0.5647 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4471, allocations: 4.344 kB / 0.5647 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.4474, allocations: 154.3 kB / 0.5649 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009139/0.4484, allocations: 0.602 MB / 0.5655 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.4487, allocations: 126.2 kB / 0.5656 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4489, allocations: 58.69 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.4489, allocations: 3.203 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.449, allocations: 33.69 kB / 0.5657 GB, free: 32.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.449, allocations: 3.938 kB / 0.5657 GB, free: 32.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004818/0.4494, allocations: 182.8 kB / 0.5658 GB, free: 32.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4495, allocations: 135.3 kB / 0.566 GB, free: 32.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.4497, allocations: 215 kB / 0.5662 GB, free: 32.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4497, allocations: 33.27 kB / 0.5662 GB, free: 32.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.4498, allocations: 140.5 kB / 0.5663 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.4499, allocations: 34.69 kB / 0.5664 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4499, allocations: 26.95 kB / 0.5664 GB, free: 32.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.45, allocations: 329.8 kB / 0.5667 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.4501, allocations: 47.86 kB / 0.5668 GB, free: 31.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.4503, allocations: 93.27 kB / 0.5669 GB, free: 31.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.4505, allocations: 102 kB / 0.5669 GB, free: 31.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4505, allocations: 0 / 0.5669 GB, free: 31.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003176/0.4508, allocations: 164.7 kB / 0.5671 GB, free: 31.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4509, allocations: 8.469 kB / 0.5671 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4509, allocations: 1.125 kB / 0.5671 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4509, allocations: 1.594 kB / 0.5671 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.451, allocations: 22.92 kB / 0.5671 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.451, allocations: 6.375 kB / 0.5671 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.4512, allocations: 40.7 kB / 0.5672 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.4512, allocations: 7.219 kB / 0.5672 GB, free: 31.57 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.0001163/0.4514, allocations: 135 kB / 0.5673 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.4514, allocations: 17.08 kB / 0.5673 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.4518, allocations: 154.5 kB / 0.5675 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4518, allocations: 10.58 kB / 0.5675 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4518, allocations: 1.406 kB / 0.5675 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4518, allocations: 1.922 kB / 0.5675 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.4521, allocations: 265.2 kB / 0.5677 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4521, allocations: 3.938 kB / 0.5678 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.4522, allocations: 17.02 kB / 0.5678 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4522, allocations: 1.344 kB / 0.5678 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4522, allocations: 8.312 kB / 0.5678 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4522, allocations: 3.938 kB / 0.5678 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4522, allocations: 0 / 0.5678 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.4526, allocations: 243 kB / 0.568 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.4526, allocations: 98.53 kB / 0.5681 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4526, allocations: 8.859 kB / 0.5681 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.4528, allocations: 33.84 kB / 0.5681 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4529, allocations: 22.33 kB / 0.5682 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4529, allocations: 7.781 kB / 0.5682 GB, free: 30.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.4531, allocations: 151.5 kB / 0.5683 GB, free: 30.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4531, allocations: 0.875 kB / 0.5683 GB, free: 30.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.4534, allocations: 40.31 kB / 0.5684 GB, free: 30.71 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.0001572/0.4535, allocations: 113.5 kB / 0.5685 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.4539, allocations: 117.4 kB / 0.5686 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4539, allocations: 1 kB / 0.5686 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.454, allocations: 57.08 kB / 0.5686 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4544, allocations: 23.5 kB / 0.5687 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.455, allocations: 429.2 kB / 0.5691 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.4552, allocations: 0.7285 MB / 0.5698 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.4553, allocations: 20.88 kB / 0.5698 GB, free: 29.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4553, allocations: 1.344 kB / 0.5698 GB, free: 29.55 MB / 446.1 MB Notification: Performance of Templates: time 0.005392/0.4607, allocations: 2.347 MB / 0.5721 GB, free: 29.37 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)