Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 191.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.8 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 50.11 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3113, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00323/0.3145, allocations: 1.9 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3166, allocations: 1.549 MB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.3167, allocations: 3.938 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.317, allocations: 23.91 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.3173, allocations: 63.69 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.3177, allocations: 156.6 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.318, allocations: 257.3 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3181, allocations: 27.22 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3182, allocations: 83.81 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3184, allocations: 99.64 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.3185, allocations: 12 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.3187, allocations: 79.95 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.3188, allocations: 75.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.3189, allocations: 111.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.3192, allocations: 307 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3192, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3192, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3192, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB 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.0007842/0.32, allocations: 0.5539 MB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3201, allocations: 11.98 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.3202, allocations: 36.64 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.3205, allocations: 270.7 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3205, allocations: 16.36 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3205, allocations: 20.12 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.3209, allocations: 224.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3209, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.3209, allocations: 12 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3209, allocations: 8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.3216, allocations: 0.7451 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.3225, allocations: 0.6293 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.3229, allocations: 310.7 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.323, allocations: 113.4 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.3231, allocations: 20.19 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.3234, allocations: 191.2 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.3235, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.0005874/0.324, allocations: 380.9 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.3241, allocations: 136.5 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3243, allocations: 312.9 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3243, allocations: 33.7 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3244, allocations: 132.7 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.3245, allocations: 114.3 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.3246, allocations: 65.69 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.3246, allocations: 338.8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3247, allocations: 87.94 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3249, allocations: 124.6 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3252, allocations: 217 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3252, allocations: 0 / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003486/0.3255, allocations: 277.2 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3255, allocations: 9.094 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3256, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3256, allocations: 3.938 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.3258, allocations: 63.91 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3258, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3259, allocations: 31.73 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.326, allocations: 8 kB / 1.228 GB, free: 106.8 MB / 0.823 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.0001114/0.3261, allocations: 166.4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.3261, allocations: 23.72 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.3267, allocations: 392.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3267, allocations: 7.938 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3267, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3267, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3269, allocations: 349.1 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.327, allocations: 3.938 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3271, allocations: 55.97 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3271, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3271, allocations: 8 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3272, allocations: 7.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3272, allocations: 11.92 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.3279, allocations: 1.027 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.328, allocations: 140.7 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.328, allocations: 8 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.3282, allocations: 23.97 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.3283, allocations: 23.97 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.3283, allocations: 19.98 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001405/0.3284, allocations: 232.5 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3285, allocations: 0 / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003771/0.3288, allocations: 67.89 kB / 1.23 GB, free: 104.1 MB / 0.823 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.0009004/0.3297, allocations: 401.2 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.3301, allocations: 235.5 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3302, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3303, allocations: 135.8 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3307, allocations: 42.11 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3317, allocations: 0.8358 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.332, allocations: 0.7702 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.3323, allocations: 146.9 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.3324, allocations: 43.42 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/0.3324, allocations: 0 / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of Templates: time 0.007378/0.3398, allocations: 3.367 MB / 1.236 GB, free: 98.28 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)