Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001215/0.001215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001296/0.001296, allocations: 190 kB / 16.25 MB, free: 6.633 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.211/1.211, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.076/2.076, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4727, allocations: 140.4 MB / 0.9492 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002206/0.475, allocations: 1.685 MB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4761, allocations: 1.141 MB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.4762, allocations: 0 / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.4764, allocations: 23.31 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.4766, allocations: 61.45 kB / 0.9521 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.4768, allocations: 118 kB / 0.9522 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.4771, allocations: 230.6 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.4772, allocations: 26.66 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.4772, allocations: 79.3 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4774, allocations: 87.36 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.4774, allocations: 16.53 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.4775, allocations: 85.55 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.4776, allocations: 77.44 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.4777, allocations: 104.2 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.4779, allocations: 283.7 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.478, allocations: 0 / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.478, allocations: 0 / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.478, allocations: 1.469 kB / 0.9531 GB, free: 6.094 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005603/0.4785, allocations: 0.5374 MB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.4786, allocations: 8.875 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.4786, allocations: 49.14 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.4787, allocations: 29.72 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.4789, allocations: 271.7 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4789, allocations: 14.88 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4789, allocations: 14.97 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.4792, allocations: 221.8 kB / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4792, allocations: 0 / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.4792, allocations: 5.375 kB / 0.9543 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4792, allocations: 3.719 kB / 0.9543 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.48, allocations: 0.7391 MB / 0.955 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.4806, allocations: 0.5696 MB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.481, allocations: 302.7 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4811, allocations: 102.7 kB / 0.9559 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.4811, allocations: 26.23 kB / 0.956 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.4814, allocations: 172.7 kB / 0.9561 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.4814, allocations: 0 / 0.9561 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0005315/0.4819, allocations: 366.5 kB / 0.9565 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.482, allocations: 140.6 kB / 0.9566 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4822, allocations: 300.5 kB / 0.9569 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4822, allocations: 30.67 kB / 0.9569 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.4823, allocations: 130.9 kB / 0.957 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.4823, allocations: 112.5 kB / 0.9572 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.4824, allocations: 64.84 kB / 0.9572 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.4825, allocations: 334.4 kB / 0.9575 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4826, allocations: 79.77 kB / 0.9576 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.4828, allocations: 128.8 kB / 0.9577 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.483, allocations: 212.2 kB / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.483, allocations: 4 kB / 0.9579 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003654/0.4834, allocations: 275.7 kB / 0.9582 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4834, allocations: 4.875 kB / 0.9582 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4834, allocations: 3.984 kB / 0.9582 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4835, allocations: 1.625 kB / 0.9582 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.4837, allocations: 63.22 kB / 0.9583 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4837, allocations: 2.781 kB / 0.9583 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.4838, allocations: 31.11 kB / 0.9583 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4838, allocations: 13.41 kB / 0.9583 GB, free: 2.328 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 (35): * Single equations (assignments): 35 * 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.0001028/0.4839, allocations: 160.4 kB / 0.9585 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.484, allocations: 24.25 kB / 0.9585 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.4845, allocations: 380 kB / 0.9589 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4846, allocations: 7.391 kB / 0.9589 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4846, allocations: 1.156 kB / 0.9589 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4846, allocations: 7.875 kB / 0.9589 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.4848, allocations: 340 kB / 0.9592 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4848, allocations: 0 / 0.9592 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.485, allocations: 53.41 kB / 0.9592 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.485, allocations: 1.531 kB / 0.9592 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.485, allocations: 15.89 kB / 0.9593 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.485, allocations: 1.375 kB / 0.9593 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.485, allocations: 5.344 kB / 0.9593 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.4854, allocations: 321.2 kB / 0.9596 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.4855, allocations: 149.5 kB / 0.9597 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4855, allocations: 6.062 kB / 0.9597 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4856, allocations: 16.95 kB / 0.9597 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.4857, allocations: 28.72 kB / 0.9598 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.4857, allocations: 8.188 kB / 0.9598 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001485/0.4859, allocations: 236.7 kB / 0.96 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4859, allocations: 0 / 0.96 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.4861, allocations: 56.34 kB / 0.9601 GB, free: 1.094 MB / 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 (34): * Single equations (assignments): 33 * 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.001219/0.4874, allocations: 1.149 MB / 0.9612 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.4878, allocations: 306.4 kB / 0.9615 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4878, allocations: 0 / 0.9615 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.488, allocations: 126.5 kB / 0.9616 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.4882, allocations: 39.08 kB / 0.9616 GB, free: 96 kB / 0.7169 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.002602/0.4909, allocations: 2.516 MB / 0.9641 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4911, allocations: 0.7622 MB / 0.9648 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.4914, allocations: 142.9 kB / 0.965 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4916, allocations: 92.55 kB / 0.9651 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.4916, allocations: 5 kB / 0.9651 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9246/1.416, allocations: 5.338 MB / 0.9703 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.416, allocations: 279.2 kB / 0.9705 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/3.706, allocations: 0 / 0.9705 GB, free: 10.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)