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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4742, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002475/0.4767, allocations: 1.922 MB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.4783, allocations: 1.559 MB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.4783, allocations: 1.438 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.4785, allocations: 22.88 kB / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.4787, allocations: 68.02 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.4791, allocations: 146.8 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.4793, allocations: 263.1 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.4794, allocations: 32.55 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.4795, allocations: 83.77 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.4797, allocations: 100.1 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.4797, allocations: 11.38 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.4799, allocations: 79.86 kB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.48, allocations: 76 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.4801, allocations: 119.4 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.4803, allocations: 313.7 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.4803, allocations: 3.938 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.4803, allocations: 0 / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4804, allocations: 1.188 kB / 0.9537 GB, free: 5.613 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.0006033/0.481, allocations: 0.5592 MB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.481, allocations: 8.906 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.4811, allocations: 54.05 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.4812, allocations: 34.41 kB / 0.9544 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4814, allocations: 280.7 kB / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.4814, allocations: 20.58 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4814, allocations: 18.59 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.4818, allocations: 237 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4818, allocations: 0 / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.4818, allocations: 10.19 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4818, allocations: 8.672 kB / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.4825, allocations: 0.7492 MB / 0.9556 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.4833, allocations: 0.6306 MB / 0.9563 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.4837, allocations: 308 kB / 0.9566 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4839, allocations: 111.2 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.4839, allocations: 26.19 kB / 0.9567 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.4842, allocations: 185.9 kB / 0.9569 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.4842, allocations: 0 / 0.9569 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0005659/0.4847, allocations: 376.2 kB / 0.9572 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4848, allocations: 140.5 kB / 0.9574 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.485, allocations: 310 kB / 0.9576 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.485, allocations: 36.39 kB / 0.9577 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.4851, allocations: 138 kB / 0.9578 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.4851, allocations: 114.1 kB / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.4852, allocations: 64.88 kB / 0.958 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.4853, allocations: 339 kB / 0.9583 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4854, allocations: 80.98 kB / 0.9584 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.4856, allocations: 137.7 kB / 0.9585 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.4859, allocations: 203.2 kB / 0.9587 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4859, allocations: 0 / 0.9587 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003842/0.4863, allocations: 282.6 kB / 0.959 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4863, allocations: 17.14 kB / 0.959 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4863, allocations: 1.344 kB / 0.959 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4863, allocations: 1.25 kB / 0.959 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4865, allocations: 55.78 kB / 0.9591 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4865, allocations: 10 kB / 0.9591 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4866, allocations: 32.52 kB / 0.9591 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.4867, allocations: 8.594 kB / 0.9591 GB, free: 1.73 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.0001108/0.4868, allocations: 157.8 kB / 0.9593 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.4868, allocations: 29.66 kB / 0.9593 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.4874, allocations: 393.5 kB / 0.9597 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4874, allocations: 7.078 kB / 0.9597 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4874, allocations: 1.094 kB / 0.9597 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4874, allocations: 0 / 0.9597 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.4877, allocations: 345 kB / 0.96 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4877, allocations: 1.531 kB / 0.96 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4878, allocations: 61.06 kB / 0.9601 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4879, allocations: 6.344 kB / 0.9601 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4879, allocations: 7.562 kB / 0.9601 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4879, allocations: 2.25 kB / 0.9601 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4879, allocations: 0 / 0.9601 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.4883, allocations: 335.5 kB / 0.9604 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.4884, allocations: 142.4 kB / 0.9605 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.4884, allocations: 11.31 kB / 0.9605 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.4886, allocations: 23.22 kB / 0.9606 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4887, allocations: 24 kB / 0.9606 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.4887, allocations: 14.3 kB / 0.9606 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000155/0.4889, allocations: 246 kB / 0.9608 GB, free: 496 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4889, allocations: 0 / 0.9608 GB, free: 496 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002705/0.4891, allocations: 69.91 kB / 0.9609 GB, free: 476 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.001275/0.4904, allocations: 1.159 MB / 0.962 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.4908, allocations: 226.6 kB / 0.9622 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4908, allocations: 4 kB / 0.9622 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.491, allocations: 135.7 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4912, allocations: 42.92 kB / 0.9624 GB, free: 15.48 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.002755/0.494, allocations: 2.597 MB / 0.965 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4943, allocations: 0.767 MB / 0.9657 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.4946, allocations: 147.5 kB / 0.9658 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.4948, allocations: 102.2 kB / 0.9659 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.522e-06/0.4948, allocations: 0 / 0.9659 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.354/3.848, allocations: 5.745 MB / 0.9715 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/3.849, allocations: 284.2 kB / 0.9718 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/5.452, allocations: 1.469 kB / 0.9718 GB, free: 9.516 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)