Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_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.001256/0.001256, 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.001396/0.001396, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.487, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002722/0.4898, allocations: 1.69 MB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.4913, allocations: 1.148 MB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.4914, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.4916, allocations: 15.94 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.4918, allocations: 59.75 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.4921, allocations: 123.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.4923, allocations: 217.5 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.4924, allocations: 24.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.4925, allocations: 71.77 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.4927, allocations: 87.77 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.4927, allocations: 8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.4928, allocations: 71.97 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.4929, allocations: 79.73 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.493, allocations: 95.39 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.4933, allocations: 265.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4933, allocations: 3.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4933, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.4933, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 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.0006735/0.494, allocations: 0.5267 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.4941, allocations: 12.03 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.4941, allocations: 50.73 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.4942, allocations: 28.66 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4944, allocations: 267.6 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4944, allocations: 12.31 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.4945, allocations: 20.38 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.4948, allocations: 220.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4948, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4948, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4949, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.4957, allocations: 0.7412 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.4964, allocations: 0.5745 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.4968, allocations: 295.6 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.497, allocations: 109.4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.497, allocations: 20.25 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.4973, allocations: 176.9 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.4973, allocations: 4 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0005977/0.4979, allocations: 365.1 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.498, allocations: 136.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.4982, allocations: 304 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4982, allocations: 29.7 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.4983, allocations: 124.7 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.4984, allocations: 114.4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.4985, allocations: 65.69 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4986, allocations: 342.8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.4987, allocations: 79.95 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.4989, allocations: 120.3 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.4992, allocations: 224.9 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4992, allocations: 0 / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004024/0.4996, allocations: 277.1 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.4997, allocations: 4 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4997, allocations: 4 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4997, allocations: 4 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.4999, allocations: 59.91 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4999, allocations: 0 / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.5001, allocations: 27.77 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.5001, allocations: 15.98 kB / 1.026 GB, free: 9.246 MB / 0.7794 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.0001351/0.5002, allocations: 161.8 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.5003, allocations: 23.72 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.5009, allocations: 381.6 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5009, allocations: 4 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5009, allocations: 0 / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5009, allocations: 7.922 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.5012, allocations: 329.2 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5012, allocations: 3.938 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.5014, allocations: 59.91 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5014, allocations: 4 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.5014, allocations: 19.98 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5014, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5015, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.5019, allocations: 325.7 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.502, allocations: 140.6 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5021, allocations: 11.98 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.5022, allocations: 8 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.5023, allocations: 35.89 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.5023, allocations: 16 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001706/0.5025, allocations: 225.8 kB / 1.027 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5025, allocations: 0 / 1.027 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002738/0.5028, allocations: 60 kB / 1.027 GB, free: 7.367 MB / 0.7794 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.001423/0.5042, allocations: 1.164 MB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.5046, allocations: 231.9 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5046, allocations: 0 / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.5048, allocations: 123.9 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.505, allocations: 37.16 kB / 1.029 GB, free: 5.945 MB / 0.7794 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.00266/0.5077, allocations: 2.501 MB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.508, allocations: 0.7535 MB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.5083, allocations: 150.8 kB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5084, allocations: 91.39 kB / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.5084, allocations: 0 / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5014/1.01, allocations: 5.219 MB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/1.01, allocations: 271.5 kB / 1.038 GB, free: 12.94 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.67, allocations: 0 / 1.038 GB, free: 12.94 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)