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.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.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.001183/0.001183, 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.001177/0.001177, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.512 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.033/2.033, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.489, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002482/0.4915, allocations: 1.696 MB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4927, allocations: 1.141 MB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.4928, allocations: 1.156 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.493, allocations: 23.25 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.4932, allocations: 51.62 kB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.4935, allocations: 125.2 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.4937, allocations: 213.9 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.4938, allocations: 20.81 kB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.4939, allocations: 72.02 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4941, allocations: 87.77 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.4941, allocations: 9.25 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.4942, allocations: 68.47 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.4943, allocations: 68.88 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.4944, allocations: 103.8 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.4946, allocations: 277 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4946, allocations: 1.125 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.41e-07/0.4946, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.4946, allocations: 0 / 0.9529 GB, free: 6.262 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.0005629/0.4952, allocations: 0.5282 MB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.4952, allocations: 10.16 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.4953, allocations: 53.48 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.4953, allocations: 25.5 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.4955, allocations: 271.7 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4955, allocations: 11.16 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4956, allocations: 17.81 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.4959, allocations: 217.5 kB / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4959, allocations: 0 / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4959, allocations: 5.438 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4959, allocations: 3.812 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.4966, allocations: 0.7432 MB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.4972, allocations: 0.5621 MB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.4976, allocations: 306.1 kB / 0.9556 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.4977, allocations: 102.9 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.4978, allocations: 29.42 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.498, allocations: 172.9 kB / 0.9559 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.498, allocations: 0 / 0.9559 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0005429/0.4986, allocations: 371 kB / 0.9562 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.4986, allocations: 132.9 kB / 0.9563 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.4988, allocations: 300.6 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4989, allocations: 31.08 kB / 0.9566 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.4989, allocations: 134.3 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.499, allocations: 104.2 kB / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.4991, allocations: 65.19 kB / 0.9569 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.4991, allocations: 339.1 kB / 0.9573 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4992, allocations: 79.95 kB / 0.9573 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4994, allocations: 127.4 kB / 0.9575 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4997, allocations: 216.5 kB / 0.9577 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4997, allocations: 0 / 0.9577 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003849/0.5001, allocations: 279.8 kB / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5001, allocations: 5.062 kB / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5001, allocations: 0 / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5001, allocations: 1.719 kB / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.5003, allocations: 59.56 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5003, allocations: 1.094 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.5005, allocations: 31.98 kB / 0.958 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.5005, allocations: 13.06 kB / 0.958 GB, free: 2.512 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.0001064/0.5006, allocations: 165.4 kB / 0.9582 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.5007, allocations: 27.2 kB / 0.9582 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.5012, allocations: 380.6 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5012, allocations: 3.969 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5012, allocations: 0 / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5013, allocations: 9.156 kB / 0.9586 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.5015, allocations: 338.9 kB / 0.9589 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5015, allocations: 1.062 kB / 0.9589 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.5016, allocations: 56.84 kB / 0.959 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5017, allocations: 1.156 kB / 0.959 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.5017, allocations: 9.125 kB / 0.959 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5017, allocations: 1.156 kB / 0.959 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5017, allocations: 3.938 kB / 0.959 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.5021, allocations: 326 kB / 0.9593 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.5022, allocations: 145.2 kB / 0.9594 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.5022, allocations: 6.219 kB / 0.9594 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5023, allocations: 18.58 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.5024, allocations: 28.72 kB / 0.9595 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.5024, allocations: 16.89 kB / 0.9595 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001442/0.5026, allocations: 227.9 kB / 0.9597 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5026, allocations: 0 / 0.9597 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002647/0.5028, allocations: 65.02 kB / 0.9598 GB, free: 1.266 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.001242/0.5041, allocations: 1.159 MB / 0.9609 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.5044, allocations: 233.3 kB / 0.9611 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5044, allocations: 0 / 0.9611 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.5046, allocations: 125.4 kB / 0.9613 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.5048, allocations: 37.31 kB / 0.9613 GB, free: 280 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.002546/0.5074, allocations: 2.518 MB / 0.9638 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5077, allocations: 0.7625 MB / 0.9645 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002947/0.508, allocations: 139.9 kB / 0.9646 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.5081, allocations: 91.7 kB / 0.9647 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5081, allocations: 5.094 kB / 0.9647 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.407/0.9151, allocations: 5.211 MB / 0.9698 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.9153, allocations: 277.8 kB / 0.9701 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.46, allocations: 0 / 0.9701 GB, free: 10.66 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)