Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 91.77 kB / 16.67 MB, free: 6.586 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.0009444/0.0009445, allocations: 178.8 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.364/1.364, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.73/0.73, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003577, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4466, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002142/0.4488, allocations: 1.569 MB / 0.5621 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.4509, allocations: 1.537 MB / 0.5636 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.451, allocations: 1 kB / 0.5636 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.4512, allocations: 26.61 kB / 0.5636 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.4515, allocations: 68.41 kB / 0.5637 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.4519, allocations: 146.1 kB / 0.5639 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.4522, allocations: 265.3 kB / 0.5641 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4524, allocations: 28.92 kB / 0.5641 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4525, allocations: 85.73 kB / 0.5642 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.4527, allocations: 97.94 kB / 0.5643 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.4528, allocations: 9.938 kB / 0.5643 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.453, allocations: 71.5 kB / 0.5644 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4531, allocations: 78.8 kB / 0.5645 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4532, allocations: 132.7 kB / 0.5646 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.4536, allocations: 226 kB / 0.5648 GB, free: 33.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4536, allocations: 1 kB / 0.5648 GB, free: 33.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4536, allocations: 0 / 0.5648 GB, free: 33.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4536, allocations: 0 / 0.5648 GB, free: 33.5 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006746/0.4543, allocations: 0.5063 MB / 0.5653 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4543, allocations: 9.812 kB / 0.5653 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.4545, allocations: 33.58 kB / 0.5653 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4547, allocations: 273.8 kB / 0.5656 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4548, allocations: 15.81 kB / 0.5656 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.4548, allocations: 26.16 kB / 0.5656 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.4552, allocations: 237.7 kB / 0.5659 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4552, allocations: 1.188 kB / 0.5659 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.4553, allocations: 7.422 kB / 0.5659 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4553, allocations: 3.938 kB / 0.5659 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.4563, allocations: 0.7516 MB / 0.5666 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.4574, allocations: 0.6575 MB / 0.5673 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.458, allocations: 307.8 kB / 0.5675 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.4581, allocations: 112.2 kB / 0.5677 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.4582, allocations: 17.27 kB / 0.5677 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.4586, allocations: 183.1 kB / 0.5678 GB, free: 31.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.405e-06/0.4586, allocations: 0 / 0.5678 GB, free: 31.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006546/0.4592, allocations: 385.9 kB / 0.5682 GB, free: 31.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.4593, allocations: 134 kB / 0.5683 GB, free: 31.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.4596, allocations: 308.8 kB / 0.5686 GB, free: 31.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.4597, allocations: 36.33 kB / 0.5687 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.4598, allocations: 138.2 kB / 0.5688 GB, free: 31.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/0.4599, allocations: 122.1 kB / 0.5689 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.4599, allocations: 30.83 kB / 0.5689 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.46, allocations: 339.4 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4602, allocations: 80.62 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4604, allocations: 127.7 kB / 0.5695 GB, free: 30.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.4607, allocations: 216.5 kB / 0.5697 GB, free: 30.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4607, allocations: 0 / 0.5697 GB, free: 30.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004366/0.4612, allocations: 283.5 kB / 0.5699 GB, free: 30.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4612, allocations: 6.172 kB / 0.57 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4612, allocations: 4.781 kB / 0.57 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4612, allocations: 1.875 kB / 0.57 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4615, allocations: 65.62 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4615, allocations: 2.812 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4616, allocations: 26.88 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4617, allocations: 14.17 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001506/0.4618, allocations: 164 kB / 0.5702 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.4619, allocations: 30.31 kB / 0.5702 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.4626, allocations: 388.7 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4626, allocations: 3.281 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4626, allocations: 1.688 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4626, allocations: 1.922 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.4629, allocations: 341.4 kB / 0.571 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4629, allocations: 0 / 0.571 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4631, allocations: 57.75 kB / 0.571 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4631, allocations: 1.469 kB / 0.571 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.4631, allocations: 19.66 kB / 0.571 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4632, allocations: 2.5 kB / 0.571 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4632, allocations: 0.6094 kB / 0.571 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.4636, allocations: 331.3 kB / 0.5713 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4637, allocations: 146 kB / 0.5715 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.4638, allocations: 11.56 kB / 0.5715 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.464, allocations: 33.31 kB / 0.5715 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.4641, allocations: 28.06 kB / 0.5716 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.4641, allocations: 11.56 kB / 0.5716 GB, free: 29.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.4643, allocations: 241.3 kB / 0.5718 GB, free: 29.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4643, allocations: 1.094 kB / 0.5718 GB, free: 29.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.4646, allocations: 67.06 kB / 0.5719 GB, free: 29.44 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009392/0.4656, allocations: 411 kB / 0.5723 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.466, allocations: 230.8 kB / 0.5725 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.466, allocations: 2.906 kB / 0.5725 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.4662, allocations: 129.6 kB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4665, allocations: 38.17 kB / 0.5726 GB, free: 29.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.4674, allocations: 0.6689 MB / 0.5733 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4676, allocations: 0.7662 MB / 0.574 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.4677, allocations: 54.64 kB / 0.5741 GB, free: 28.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4678, allocations: 0 / 0.5741 GB, free: 28.03 MB / 446.1 MB Notification: Performance of Templates: time 0.008471/0.4762, allocations: 4.44 MB / 0.5784 GB, free: 27.57 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)