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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001209/0.001209, allocations: 108 kB / 15.61 MB, free: 152 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.00116/0.00116, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 59.91 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4924, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002524/0.4949, allocations: 1.627 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.4963, allocations: 1.167 MB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.4963, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.4965, allocations: 27.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.4968, allocations: 59.69 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.4971, allocations: 134.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.4973, allocations: 233.6 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.4974, allocations: 24.2 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.4975, allocations: 79.83 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.4976, allocations: 93.08 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.4977, allocations: 16 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4978, allocations: 87.95 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.4979, allocations: 75.75 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.498, allocations: 103.4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.4983, allocations: 285.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4983, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4983, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.4983, allocations: 0 / 1.021 GB, free: 14.5 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.0006083/0.4989, allocations: 0.5344 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.4989, allocations: 12.03 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.499, allocations: 46.73 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.499, allocations: 28.66 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4993, allocations: 271.6 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4993, allocations: 8.375 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.4993, allocations: 16.38 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.4996, allocations: 220.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4996, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.4997, allocations: 8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4997, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.5004, allocations: 0.7489 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.5011, allocations: 0.5667 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.5015, allocations: 295.5 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5016, allocations: 105.4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.5017, allocations: 20.23 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.502, allocations: 184.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.502, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0005688/0.5025, allocations: 365.2 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.5026, allocations: 136.5 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5028, allocations: 304 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5029, allocations: 29.7 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.5029, allocations: 124.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.503, allocations: 114.4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.5031, allocations: 69.69 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.5032, allocations: 334.8 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.5033, allocations: 79.95 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5035, allocations: 124.6 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.5038, allocations: 217 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5038, allocations: 8 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003875/0.5042, allocations: 277 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.5042, allocations: 8 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5042, allocations: 3.984 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5042, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5044, allocations: 63.91 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5045, allocations: 0 / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5046, allocations: 27.77 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5046, allocations: 12 kB / 1.026 GB, free: 8.914 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.0001239/0.5047, allocations: 159.3 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.5048, allocations: 23.72 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.5054, allocations: 385.6 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5054, allocations: 7.984 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5054, allocations: 0 / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5054, allocations: 3.938 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.5057, allocations: 329.2 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5057, allocations: 3.984 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5059, allocations: 51.92 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5059, allocations: 8 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.5059, allocations: 11.98 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5059, allocations: 0 / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5059, allocations: 0 / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.5063, allocations: 325.7 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5064, allocations: 144.6 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.5065, allocations: 8 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.5066, allocations: 23.92 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.5067, allocations: 27.91 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.5067, allocations: 12 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001673/0.5069, allocations: 233.6 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5069, allocations: 0 / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002554/0.5071, allocations: 64 kB / 1.028 GB, free: 7.031 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.001305/0.5084, allocations: 1.154 MB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.5089, allocations: 303.8 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5089, allocations: 0 / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.5091, allocations: 127.8 kB / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.5093, allocations: 41.66 kB / 1.03 GB, free: 5.539 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.002314/0.5116, allocations: 2.442 MB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.5119, allocations: 0.7574 MB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002791/0.5122, allocations: 146.8 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5123, allocations: 91.39 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5123, allocations: 4 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.617/2.129, allocations: 5.406 MB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/16.89, allocations: 12.62 kB / 1.038 GB, free: 12.71 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)