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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(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.001087/0.001088, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008845/0.008845, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 15.41 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.407, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002555/0.4096, allocations: 1.595 MB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.4121, allocations: 1.526 MB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.4122, allocations: 0 / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.4125, allocations: 19.92 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.4128, allocations: 75.67 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.4132, allocations: 155 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.4136, allocations: 261.3 kB / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.4137, allocations: 37.36 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.4138, allocations: 79.77 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.4141, allocations: 95.7 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.4141, allocations: 12 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.4143, allocations: 71.91 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.4144, allocations: 75.8 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.4146, allocations: 141 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.415, allocations: 295 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.415, allocations: 0 / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.975e-06/0.415, allocations: 0 / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.415, allocations: 0 / 1.078 GB, free: 3.09 MB / 0.8262 GB 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.0008252/0.4158, allocations: 0.5111 MB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4159, allocations: 15.97 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.416, allocations: 28.66 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.4164, allocations: 278.7 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.4164, allocations: 12.38 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4164, allocations: 20.12 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.4168, allocations: 244.9 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4168, allocations: 0 / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.4169, allocations: 8 kB / 1.08 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.4169, allocations: 4 kB / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.4178, allocations: 0.7567 MB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.4189, allocations: 0.6466 MB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.4194, allocations: 317.8 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.4196, allocations: 109.4 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.4197, allocations: 16.2 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.4201, allocations: 183.4 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.4201, allocations: 0 / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.00068/0.4208, allocations: 379 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.4208, allocations: 136.5 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.4212, allocations: 313 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.4212, allocations: 33.7 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4213, allocations: 132.6 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.4214, allocations: 122.3 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.4215, allocations: 29.7 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4216, allocations: 338.8 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4218, allocations: 79.95 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.422, allocations: 131.5 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.4223, allocations: 213.2 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4223, allocations: 4 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004239/0.4227, allocations: 277 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4228, allocations: 4 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4228, allocations: 3.938 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4228, allocations: 4.047 kB / 1.084 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.4231, allocations: 67.89 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4231, allocations: 0 / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.4233, allocations: 31.83 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.4233, allocations: 19.92 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB 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.0001912/0.4235, allocations: 161.8 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.4235, allocations: 27.62 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000721/0.4243, allocations: 388.5 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4243, allocations: 8 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4243, allocations: 3.938 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.4243, allocations: 7.984 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.4247, allocations: 341.2 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4247, allocations: 0 / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.4249, allocations: 51.97 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4249, allocations: 4 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4249, allocations: 19.92 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.425, allocations: 3.938 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.425, allocations: 0 / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.4254, allocations: 330.1 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.4256, allocations: 152.6 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.4257, allocations: 7.938 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4259, allocations: 34.81 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.4259, allocations: 23.97 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.426, allocations: 15.98 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002329/0.4262, allocations: 236.5 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4262, allocations: 0 / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003305/0.4266, allocations: 63.98 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB 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.001067/0.4276, allocations: 416.9 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.4281, allocations: 223.7 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4281, allocations: 0 / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.4283, allocations: 139.7 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4286, allocations: 40.36 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.4295, allocations: 0.6216 MB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.4299, allocations: 0.7653 MB / 1.088 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.4302, allocations: 146.8 kB / 1.088 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.4303, allocations: 39.42 kB / 1.088 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4303, allocations: 0 / 1.088 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of Templates: time 0.007203/0.4375, allocations: 3.247 MB / 1.091 GB, free: 5.984 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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)