Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009243/0.0009244, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009474/0.0009475, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5735/0.5735, allocations: 95.57 MB / 365.9 MB, free: 10.38 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000526/0.0005261, allocations: 12 kB / 446.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.0015/0.3059, allocations: 1.458 MB / 0.5064 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3073, allocations: 1.27 MB / 0.5077 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.3074, allocations: 3.938 kB / 0.5077 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.3076, allocations: 23.84 kB / 0.5077 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3078, allocations: 55.78 kB / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3081, allocations: 107.3 kB / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3083, allocations: 161.7 kB / 0.508 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3084, allocations: 25.95 kB / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.3085, allocations: 71.83 kB / 0.5081 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3086, allocations: 59.75 kB / 0.5082 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3086, allocations: 8 kB / 0.5082 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3088, allocations: 43.98 kB / 0.5082 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.3088, allocations: 67.81 kB / 0.5083 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3089, allocations: 57.58 kB / 0.5083 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3091, allocations: 215.5 kB / 0.5085 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3091, allocations: 0 / 0.5085 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3091, allocations: 0 / 0.5085 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3091, allocations: 0 / 0.5085 GB, free: 12.88 MB / 382.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.0005807/0.3097, allocations: 0.5118 MB / 0.509 GB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3097, allocations: 11.98 kB / 0.509 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.3099, allocations: 31.62 kB / 0.5091 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3101, allocations: 270.4 kB / 0.5093 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3101, allocations: 16 kB / 0.5093 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3101, allocations: 19.94 kB / 0.5094 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3104, allocations: 211.7 kB / 0.5096 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3104, allocations: 0 / 0.5096 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3105, allocations: 4 kB / 0.5096 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3105, allocations: 4 kB / 0.5096 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.3111, allocations: 0.7451 MB / 0.5103 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.3118, allocations: 0.5862 MB / 0.5109 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.3122, allocations: 300.2 kB / 0.5112 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.3122, allocations: 24.23 kB / 0.5112 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.3125, allocations: 187.3 kB / 0.5114 GB, free: 9.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.275e-06/0.3125, allocations: 0 / 0.5114 GB, free: 9.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005057/0.313, allocations: 361 kB / 0.5117 GB, free: 9.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3131, allocations: 89.05 kB / 0.5118 GB, free: 9.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3133, allocations: 292 kB / 0.5121 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3133, allocations: 33.7 kB / 0.5121 GB, free: 8.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.3134, allocations: 128.6 kB / 0.5122 GB, free: 8.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.3134, allocations: 118.4 kB / 0.5123 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.3135, allocations: 4 kB / 0.5123 GB, free: 8.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.3135, allocations: 338.8 kB / 0.5127 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3136, allocations: 75.95 kB / 0.5127 GB, free: 8.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3137, allocations: 110.7 kB / 0.5128 GB, free: 8.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3139, allocations: 129.5 kB / 0.513 GB, free: 8.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3139, allocations: 0 / 0.513 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003243/0.3142, allocations: 306.8 kB / 0.5133 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3143, allocations: 33.73 kB / 0.5133 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3143, allocations: 0 / 0.5133 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3143, allocations: 4 kB / 0.5133 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.3145, allocations: 59.91 kB / 0.5133 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3145, allocations: 7.953 kB / 0.5134 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.3146, allocations: 19.78 kB / 0.5134 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.3146, allocations: 15.98 kB / 0.5134 GB, free: 7.629 MB / 382.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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3147, allocations: 158.4 kB / 0.5135 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3148, allocations: 27.72 kB / 0.5136 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.3153, allocations: 396.9 kB / 0.5139 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3153, allocations: 4 kB / 0.514 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3153, allocations: 0 / 0.514 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3153, allocations: 3.953 kB / 0.514 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3155, allocations: 329.3 kB / 0.5143 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3155, allocations: 0 / 0.5143 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.3157, allocations: 63.91 kB / 0.5143 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3157, allocations: 4 kB / 0.5143 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3157, allocations: 11.94 kB / 0.5143 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3157, allocations: 7.938 kB / 0.5144 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3158, allocations: 0 / 0.5144 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.3161, allocations: 317.5 kB / 0.5147 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3162, allocations: 140.7 kB / 0.5148 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.3162, allocations: 8 kB / 0.5148 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3164, allocations: 27.98 kB / 0.5148 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3164, allocations: 23.91 kB / 0.5148 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3164, allocations: 19.98 kB / 0.5149 GB, free: 6.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3166, allocations: 221.8 kB / 0.5151 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3166, allocations: 0 / 0.5151 GB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3169, allocations: 63.89 kB / 0.5151 GB, free: 5.742 MB / 382.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007908/0.3176, allocations: 411.6 kB / 0.5155 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.318, allocations: 279.5 kB / 0.5158 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.318, allocations: 11.94 kB / 0.5158 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3181, allocations: 119.8 kB / 0.5159 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3184, allocations: 36.58 kB / 0.516 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.319, allocations: 0.5814 MB / 0.5165 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3192, allocations: 0.7688 MB / 0.5173 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.3194, allocations: 142.9 kB / 0.5174 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.3195, allocations: 39.42 kB / 0.5175 GB, free: 3.445 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3195, allocations: 0 / 0.5175 GB, free: 3.445 MB / 382.1 MB Notification: Performance of Templates: time 0.004869/0.3244, allocations: 2.748 MB / 0.5201 GB, free: 0.7227 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: