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.001857/0.001857, allocations: 108 kB / 15.6 MB, free: 132 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.001816/0.001816, allocations: 198 kB / 16.54 MB, free: 6.672 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.059/2.059, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5124, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002236/0.5146, allocations: 1.636 MB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.5158, allocations: 1.167 MB / 0.9525 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.5159, allocations: 1.25 kB / 0.9525 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.5161, allocations: 20.31 kB / 0.9525 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.5163, allocations: 69.39 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.5165, allocations: 139.2 kB / 0.9527 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.5168, allocations: 234.6 kB / 0.9529 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.5168, allocations: 25.28 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.5169, allocations: 79.7 kB / 0.953 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.5171, allocations: 91.61 kB / 0.9531 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.5171, allocations: 16.59 kB / 0.9531 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.5173, allocations: 77.41 kB / 0.9532 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.5173, allocations: 81.91 kB / 0.9532 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.24e-05/0.5174, allocations: 103.5 kB / 0.9533 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.5177, allocations: 280 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5177, allocations: 0.9375 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5177, allocations: 0 / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.5177, allocations: 0 / 0.9536 GB, free: 6.254 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.0005609/0.5183, allocations: 0.5367 MB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5183, allocations: 10.31 kB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.5184, allocations: 52.17 kB / 0.9542 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.5184, allocations: 26.03 kB / 0.9542 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.5186, allocations: 263.9 kB / 0.9545 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5187, allocations: 15.34 kB / 0.9545 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5187, allocations: 17.41 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.519, allocations: 221.5 kB / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.519, allocations: 0 / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.519, allocations: 6.344 kB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.519, allocations: 4.469 kB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.5197, allocations: 0.7392 MB / 0.9555 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.5203, allocations: 0.573 MB / 0.956 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.5207, allocations: 299.1 kB / 0.9563 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.5208, allocations: 103.2 kB / 0.9564 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.5209, allocations: 20.44 kB / 0.9564 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.5211, allocations: 179.6 kB / 0.9566 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.5211, allocations: 1.344 kB / 0.9566 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0005504/0.5217, allocations: 367 kB / 0.9569 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.5217, allocations: 136.7 kB / 0.9571 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.5219, allocations: 299.2 kB / 0.9574 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.522, allocations: 32.45 kB / 0.9574 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.522, allocations: 128.9 kB / 0.9575 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.5221, allocations: 109.5 kB / 0.9576 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.5222, allocations: 65.19 kB / 0.9577 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.5222, allocations: 338.2 kB / 0.958 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.5224, allocations: 87.48 kB / 0.9581 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.5225, allocations: 124.6 kB / 0.9582 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.5229, allocations: 212.4 kB / 0.9584 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5229, allocations: 0 / 0.9584 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003781/0.5233, allocations: 275.9 kB / 0.9587 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.5233, allocations: 4.844 kB / 0.9587 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5233, allocations: 0 / 0.9587 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5233, allocations: 5.422 kB / 0.9587 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.5235, allocations: 63.69 kB / 0.9587 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5235, allocations: 1.281 kB / 0.9587 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.5236, allocations: 36.58 kB / 0.9588 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.5237, allocations: 13.25 kB / 0.9588 GB, free: 2.488 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.0001038/0.5238, allocations: 161.4 kB / 0.9589 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.5238, allocations: 22.97 kB / 0.959 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.5244, allocations: 380.6 kB / 0.9593 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5244, allocations: 8.406 kB / 0.9593 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5244, allocations: 3.984 kB / 0.9593 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5244, allocations: 3.938 kB / 0.9593 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5246, allocations: 328 kB / 0.9596 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5246, allocations: 0 / 0.9596 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.5248, allocations: 62 kB / 0.9597 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5248, allocations: 0.9688 kB / 0.9597 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.5248, allocations: 12.48 kB / 0.9597 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5248, allocations: 5.5 kB / 0.9597 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5248, allocations: 0 / 0.9597 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.5252, allocations: 330.2 kB / 0.96 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.5253, allocations: 145.3 kB / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.5254, allocations: 10.09 kB / 0.9602 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.5255, allocations: 14.48 kB / 0.9602 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.5256, allocations: 29 kB / 0.9602 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.5256, allocations: 16 kB / 0.9602 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001464/0.5257, allocations: 236.6 kB / 0.9605 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5257, allocations: 0 / 0.9605 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.526, allocations: 56.19 kB / 0.9605 GB, free: 1.246 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.0012/0.5272, allocations: 1.145 MB / 0.9616 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.5276, allocations: 307.4 kB / 0.9619 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5277, allocations: 1.344 kB / 0.9619 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.5278, allocations: 125.7 kB / 0.9621 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.5281, allocations: 37 kB / 0.9621 GB, free: 260 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.002502/0.5306, allocations: 2.457 MB / 0.9645 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5309, allocations: 0.7543 MB / 0.9652 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002905/0.5312, allocations: 147.8 kB / 0.9654 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5313, allocations: 92.42 kB / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.5313, allocations: 0 / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3931/0.9244, allocations: 5.415 MB / 0.9707 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.934, allocations: 14.67 kB / 0.9708 GB, free: 10.89 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)