Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004333/0.004333, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001301/0.001301, allocations: 194 kB / 16.68 MB, free: 5.969 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.237/2.237, allocations: 437.1 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 63.89 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5966, allocations: 151.6 MB / 1.166 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002786/0.5994, allocations: 1.869 MB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.6013, allocations: 1.581 MB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.6014, allocations: 0 / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.6016, allocations: 31.78 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.6018, allocations: 79.55 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.6022, allocations: 172.5 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.6025, allocations: 281.4 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.6026, allocations: 29.09 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.6027, allocations: 95.75 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.6029, allocations: 111.7 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.603, allocations: 20 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.6031, allocations: 83.92 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.6032, allocations: 87.8 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.6034, allocations: 119.3 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.6037, allocations: 338.2 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6037, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6038, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.6038, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 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.0007269/0.6045, allocations: 0.5768 MB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.6045, allocations: 8.922 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.6046, allocations: 54.72 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.6047, allocations: 32.75 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.605, allocations: 278.9 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.605, allocations: 16.38 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6051, allocations: 19.94 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.6054, allocations: 252.8 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6054, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.6055, allocations: 4 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6055, allocations: 7.938 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008532/0.6063, allocations: 0.749 MB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009127/0.6073, allocations: 0.6371 MB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.6077, allocations: 301.9 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.6079, allocations: 117.9 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.608, allocations: 16.25 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.6083, allocations: 180.6 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.6083, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.0006279/0.6089, allocations: 377.5 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.609, allocations: 140.5 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.6093, allocations: 312.9 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.6093, allocations: 33.7 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.6094, allocations: 140.7 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-05/0.6095, allocations: 119 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.6096, allocations: 61.69 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6097, allocations: 346.8 kB / 1.176 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.6099, allocations: 79.95 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.6101, allocations: 131.4 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.6104, allocations: 214.3 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6104, allocations: 0 / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004197/0.6108, allocations: 289.1 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6108, allocations: 7.938 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.6108, allocations: 0 / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6109, allocations: 4 kB / 1.176 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.6111, allocations: 59.91 kB / 1.176 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.6111, allocations: 4 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.6112, allocations: 27.88 kB / 1.176 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.6112, allocations: 12 kB / 1.176 GB, free: 9.012 MB / 0.9044 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.0001553/0.6114, allocations: 165.7 kB / 1.177 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.6115, allocations: 31.75 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000633/0.6121, allocations: 380.9 kB / 1.177 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6121, allocations: 4 kB / 1.177 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6121, allocations: 0 / 1.177 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6121, allocations: 3.938 kB / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.6124, allocations: 345.3 kB / 1.177 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6125, allocations: 8 kB / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.6126, allocations: 63.91 kB / 1.177 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6126, allocations: 3.938 kB / 1.177 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.6127, allocations: 15.98 kB / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6127, allocations: 0 / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.6127, allocations: 0 / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.6131, allocations: 325.7 kB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6133, allocations: 144.9 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.6133, allocations: 23.91 kB / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6135, allocations: 15.98 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.6135, allocations: 31.83 kB / 1.178 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.6136, allocations: 15.98 kB / 1.178 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002027/0.6138, allocations: 236.4 kB / 1.178 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6138, allocations: 4 kB / 1.178 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002621/0.6141, allocations: 67.83 kB / 1.178 GB, free: 7.047 MB / 0.9044 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.001876/0.6159, allocations: 1.16 MB / 1.179 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.6163, allocations: 227.7 kB / 1.18 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6163, allocations: 0 / 1.18 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.6165, allocations: 135.7 kB / 1.18 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.6168, allocations: 49.48 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.6194, allocations: 2.526 MB / 1.182 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.6198, allocations: 0.7695 MB / 1.183 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002972/0.6201, allocations: 142.9 kB / 1.183 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.6202, allocations: 99.33 kB / 1.183 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6202, allocations: 0 / 1.183 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.095/1.715, allocations: 6.028 MB / 1.189 GB, free: 12.03 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/13.39, allocations: 16.7 kB / 1.189 GB, free: 12.02 MB / 0.92 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)