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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008437/0.0008437, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004712/0.004712, allocations: 170 kB / 16.27 MB, free: 6.652 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.238/2.238, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 12 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4944, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001874/0.4963, allocations: 1.583 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.4982, allocations: 1.538 MB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.4983, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.4984, allocations: 15.92 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.4987, allocations: 71.67 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.4991, allocations: 151.2 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.4993, allocations: 265.3 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.4994, allocations: 39.28 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.4995, allocations: 75.83 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.4997, allocations: 103.6 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.4998, allocations: 8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.4999, allocations: 79.95 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.5, allocations: 75.73 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.5001, allocations: 141 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.5004, allocations: 299 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5005, allocations: 11.98 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5005, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5005, allocations: 3.938 kB / 1.027 GB, free: 11.39 MB / 0.7794 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.0006242/0.5011, allocations: 0.4918 MB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5011, allocations: 8.031 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.5012, allocations: 58.72 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.5013, allocations: 36.56 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5016, allocations: 282.6 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.5016, allocations: 20.31 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.5017, allocations: 19.94 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.502, allocations: 236.9 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.502, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.502, allocations: 12 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5021, allocations: 4 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.5028, allocations: 0.7529 MB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.5037, allocations: 0.6465 MB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.5042, allocations: 309.9 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.5043, allocations: 113.3 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.5044, allocations: 20.25 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.5047, allocations: 184.5 kB / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.5047, allocations: 0 / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0005645/0.5052, allocations: 380.6 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.5053, allocations: 132.5 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.5056, allocations: 313 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.5056, allocations: 29.7 kB / 1.031 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.5057, allocations: 140.6 kB / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.5058, allocations: 114.3 kB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.5058, allocations: 37.7 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.5059, allocations: 334.8 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.5061, allocations: 83.94 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.5062, allocations: 127.2 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.5065, allocations: 218.2 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5065, allocations: 0 / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003788/0.5069, allocations: 277.2 kB / 1.033 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5069, allocations: 15.94 kB / 1.033 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5069, allocations: 0 / 1.033 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.5069, allocations: 0 / 1.033 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.5071, allocations: 63.91 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5072, allocations: 4 kB / 1.033 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.5073, allocations: 27.73 kB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.5073, allocations: 16 kB / 1.033 GB, free: 5.68 MB / 0.7794 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.0001417/0.5075, allocations: 165.7 kB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.5075, allocations: 39.59 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.5081, allocations: 380.8 kB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5081, allocations: 4 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5082, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5082, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5084, allocations: 349.2 kB / 1.034 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5085, allocations: 4 kB / 1.034 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.5086, allocations: 59.91 kB / 1.034 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5086, allocations: 3.938 kB / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5087, allocations: 12 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5087, allocations: 0 / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5087, allocations: 3.984 kB / 1.034 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.5091, allocations: 321.5 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.5092, allocations: 156.6 kB / 1.034 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.5092, allocations: 11.94 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.5094, allocations: 31.97 kB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.5095, allocations: 23.97 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.5095, allocations: 12 kB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001753/0.5097, allocations: 236.4 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5097, allocations: 0 / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002735/0.51, allocations: 75.92 kB / 1.035 GB, free: 3.727 MB / 0.7794 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.001319/0.5113, allocations: 1.163 MB / 1.036 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.5117, allocations: 231.6 kB / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5117, allocations: 0 / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.5118, allocations: 127.9 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.5121, allocations: 36.42 kB / 1.036 GB, free: 2.289 MB / 0.7794 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.5147, allocations: 2.61 MB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.515, allocations: 0.7577 MB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.5153, allocations: 150.8 kB / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.5154, allocations: 99.39 kB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.5154, allocations: 0 / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.338/1.853, allocations: 5.509 MB / 1.045 GB, free: 9.273 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/1.854, allocations: 283.6 kB / 1.045 GB, free: 8.895 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/3.444, allocations: 0 / 1.045 GB, free: 8.895 MB / 0.795 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=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)