Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001008/0.001008, allocations: 91.77 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.006866/0.006866, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004115, allocations: 14.97 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4123, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002589/0.4149, allocations: 1.595 MB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.4177, allocations: 1.526 MB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.4178, allocations: 4 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.4181, allocations: 23.89 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.4184, allocations: 71.69 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.4189, allocations: 151.2 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.4193, allocations: 261.4 kB / 1.078 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4194, allocations: 25.39 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.4196, allocations: 87.7 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.4199, allocations: 91.7 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.42, allocations: 12 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.4202, allocations: 75.95 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.4203, allocations: 79.73 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.4205, allocations: 133 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.4209, allocations: 303 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4209, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4209, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4209, allocations: 0 / 1.078 GB, free: 3.125 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.000786/0.4217, allocations: 0.5072 MB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4218, allocations: 8.031 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.4219, allocations: 32.66 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4222, allocations: 278.6 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.4223, allocations: 16.38 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4223, allocations: 20.12 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.4227, allocations: 248.8 kB / 1.08 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4227, allocations: 0 / 1.08 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.4228, allocations: 8 kB / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.4228, allocations: 4 kB / 1.08 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009551/0.4238, allocations: 0.7451 MB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.425, allocations: 0.6564 MB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.4255, allocations: 313.8 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4257, allocations: 113.4 kB / 1.081 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.4257, allocations: 16.25 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.4261, allocations: 187.4 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=35): time 2.255e-06/0.4261, allocations: 0 / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.0007059/0.4269, allocations: 382.9 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.4269, allocations: 132.5 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.4273, allocations: 313 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.4273, allocations: 29.7 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.4274, allocations: 136.6 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4276, allocations: 118.3 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.4276, allocations: 33.7 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4278, allocations: 338.8 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.428, allocations: 79.95 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.4282, allocations: 127.5 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.4285, allocations: 213.2 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4285, allocations: 0 / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00046/0.429, allocations: 281 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.429, allocations: 8 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.429, allocations: 3.938 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4291, allocations: 0 / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.4293, allocations: 63.91 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4293, allocations: 4 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4295, allocations: 27.83 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.4295, allocations: 19.98 kB / 1.084 GB, free: 13.45 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.0001942/0.4297, allocations: 161.8 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.4298, allocations: 27.62 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/0.4305, allocations: 392.5 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4305, allocations: 4 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4305, allocations: 8 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.4306, allocations: 3.984 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.4309, allocations: 341.2 kB / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4309, allocations: 0 / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.4311, allocations: 55.91 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4312, allocations: 4 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4312, allocations: 15.92 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4312, allocations: 0 / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4312, allocations: 0 / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.4317, allocations: 338 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4319, allocations: 144.7 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.4319, allocations: 11.94 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.4321, allocations: 30.81 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.4322, allocations: 23.97 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4323, allocations: 15.98 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002293/0.4325, allocations: 244.4 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4325, allocations: 0 / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003369/0.4329, allocations: 64 kB / 1.086 GB, free: 11.51 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.001046/0.4339, allocations: 401.2 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.4344, allocations: 231.7 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4344, allocations: 0 / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.4346, allocations: 135.7 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.4349, allocations: 40.42 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4359, allocations: 0.6255 MB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.4364, allocations: 0.7575 MB / 1.088 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003602/0.4367, allocations: 146.9 kB / 1.088 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.4368, allocations: 43.36 kB / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4368, allocations: 0 / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of Templates: time 0.008016/0.4449, allocations: 3.26 MB / 1.091 GB, free: 6.02 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)