Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 197 kB / 16.53 MB, free: 6.664 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4668, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002504/0.4693, allocations: 1.876 MB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.4709, allocations: 1.577 MB / 0.9531 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.4709, allocations: 0.8125 kB / 0.9531 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.4711, allocations: 27.45 kB / 0.9531 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.4713, allocations: 78.81 kB / 0.9532 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.4717, allocations: 170.3 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.4719, allocations: 280.1 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.472, allocations: 37.28 kB / 0.9537 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.4721, allocations: 92.06 kB / 0.9537 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.4722, allocations: 105.1 kB / 0.9538 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.4723, allocations: 19.06 kB / 0.9539 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.4724, allocations: 91.58 kB / 0.9539 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.4725, allocations: 91.73 kB / 0.954 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.4726, allocations: 119.2 kB / 0.9541 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4729, allocations: 328.5 kB / 0.9545 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4729, allocations: 4 kB / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4729, allocations: 0 / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4729, allocations: 0 / 0.9545 GB, free: 5.605 MB / 0.7169 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.000557/0.4734, allocations: 0.551 MB / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.4735, allocations: 10.66 kB / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.4735, allocations: 61.16 kB / 0.9551 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.4737, allocations: 33.41 kB / 0.9551 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.4739, allocations: 277.1 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4739, allocations: 16.69 kB / 0.9554 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4739, allocations: 19.75 kB / 0.9554 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.4742, allocations: 236.5 kB / 0.9556 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4742, allocations: 0 / 0.9556 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.4742, allocations: 5.906 kB / 0.9556 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4742, allocations: 4.75 kB / 0.9556 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.4749, allocations: 0.7526 MB / 0.9564 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.4757, allocations: 0.6351 MB / 0.957 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.476, allocations: 313.2 kB / 0.9573 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4762, allocations: 110.9 kB / 0.9574 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.4762, allocations: 21.28 kB / 0.9574 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.4765, allocations: 174 kB / 0.9576 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.4765, allocations: 4.844 kB / 0.9576 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0005474/0.477, allocations: 379.6 kB / 0.958 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4771, allocations: 137.2 kB / 0.9581 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.4773, allocations: 309.5 kB / 0.9584 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4773, allocations: 35.8 kB / 0.9584 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.4774, allocations: 134.9 kB / 0.9585 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.4774, allocations: 117.6 kB / 0.9587 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.4775, allocations: 69.36 kB / 0.9587 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.4776, allocations: 335.3 kB / 0.959 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4777, allocations: 80.3 kB / 0.9591 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.4778, allocations: 137.7 kB / 0.9592 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.4781, allocations: 215 kB / 0.9595 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4781, allocations: 4.906 kB / 0.9595 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003589/0.4785, allocations: 278.6 kB / 0.9597 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4785, allocations: 8.781 kB / 0.9597 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.4785, allocations: 0 / 0.9597 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.4785, allocations: 2.312 kB / 0.9597 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4787, allocations: 64.25 kB / 0.9598 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4787, allocations: 1.219 kB / 0.9598 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.4789, allocations: 34.72 kB / 0.9598 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4789, allocations: 16.89 kB / 0.9598 GB, free: 1.727 MB / 0.7169 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.0001035/0.479, allocations: 165.9 kB / 0.96 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.479, allocations: 29.31 kB / 0.96 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.4796, allocations: 385.7 kB / 0.9604 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4796, allocations: 3.531 kB / 0.9604 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4796, allocations: 4 kB / 0.9604 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4796, allocations: 9.234 kB / 0.9604 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4798, allocations: 341.1 kB / 0.9607 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4798, allocations: 0 / 0.9607 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.48, allocations: 58.91 kB / 0.9608 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.48, allocations: 5.188 kB / 0.9608 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.48, allocations: 12.14 kB / 0.9608 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.48, allocations: 3.875 kB / 0.9608 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.48, allocations: 3.938 kB / 0.9608 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.4804, allocations: 321.4 kB / 0.9611 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.4805, allocations: 147.6 kB / 0.9613 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.4805, allocations: 9.25 kB / 0.9613 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4807, allocations: 27.83 kB / 0.9613 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.4807, allocations: 24.7 kB / 0.9613 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.4808, allocations: 14.28 kB / 0.9613 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001446/0.4809, allocations: 238.2 kB / 0.9616 GB, free: 496 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4809, allocations: 4 kB / 0.9616 GB, free: 492 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000259/0.4812, allocations: 74.12 kB / 0.9616 GB, free: 468 kB / 0.7169 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.001259/0.4825, allocations: 1.161 MB / 0.9628 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.4829, allocations: 311.6 kB / 0.9631 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4829, allocations: 1.062 kB / 0.9631 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.4831, allocations: 130.7 kB / 0.9632 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4834, allocations: 44.05 kB / 0.9632 GB, free: 15.45 MB / 0.7325 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.00247/0.4859, allocations: 2.523 MB / 0.9657 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4861, allocations: 0.7589 MB / 0.9664 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002854/0.4864, allocations: 152 kB / 0.9666 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4866, allocations: 97.23 kB / 0.9667 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.4866, allocations: 0 / 0.9667 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.64/2.126, allocations: 5.962 MB / 0.9725 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.92, allocations: 5.828 kB / 0.9725 GB, free: 9.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)