Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.798/2.798, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 188.3 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 90.92 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.000638, allocations: 15.44 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2289, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.123, allocations: 140.9 MB / 1.116 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.124, allocations: 93.95 kB / 1.116 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03064/1.154, allocations: 8.046 MB / 1.124 GB, free: 30.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.365e-06/1.154, allocations: 0 / 1.124 GB, free: 30.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.267e-05/1.154, allocations: 7.516 kB / 1.124 GB, free: 30.99 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00087/1.155, allocations: 0.4916 MB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.155, allocations: 15.5 kB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/1.156, allocations: 47.55 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/1.156, allocations: 27.22 kB / 1.124 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/1.156, allocations: 267.2 kB / 1.125 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.156, allocations: 7.688 kB / 1.125 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/1.156, allocations: 15.34 kB / 1.125 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/1.157, allocations: 211.8 kB / 1.125 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.157, allocations: 4 kB / 1.125 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/1.157, allocations: 6.562 kB / 1.125 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.157, allocations: 3.875 kB / 1.125 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/1.158, allocations: 0.7332 MB / 1.126 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/1.159, allocations: 0.56 MB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/1.16, allocations: 304 kB / 1.126 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/1.16, allocations: 21.89 kB / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.16, allocations: 172.5 kB / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 3.226e-06/1.16, allocations: 0 / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.0009462/1.161, allocations: 367.7 kB / 1.127 GB, free: 29.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/1.161, allocations: 139.1 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/1.162, allocations: 257.4 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/1.162, allocations: 32.64 kB / 1.127 GB, free: 29.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/1.162, allocations: 125.2 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.162, allocations: 117.4 kB / 1.128 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/1.162, allocations: 10.5 kB / 1.128 GB, free: 29.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.162, allocations: 336 kB / 1.128 GB, free: 29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.162, allocations: 76.27 kB / 1.128 GB, free: 29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/1.163, allocations: 125.1 kB / 1.128 GB, free: 28.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/1.163, allocations: 106.1 kB / 1.128 GB, free: 28.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.163, allocations: 0 / 1.128 GB, free: 28.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006431/1.164, allocations: 278.3 kB / 1.129 GB, free: 28.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.164, allocations: 5.594 kB / 1.129 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.164, allocations: 0 / 1.129 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.164, allocations: 3.844 kB / 1.129 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/1.164, allocations: 62.73 kB / 1.129 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.164, allocations: 0 / 1.129 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/1.164, allocations: 33.23 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/1.165, allocations: 13.23 kB / 1.129 GB, free: 28.89 MB / 0.698 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.165, allocations: 159.4 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/1.165, allocations: 27.28 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/1.166, allocations: 394.2 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.166, allocations: 11.84 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.166, allocations: 3.875 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.166, allocations: 1.828 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/1.166, allocations: 333.3 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.166, allocations: 0 / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/1.167, allocations: 59.08 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/1.167, allocations: 4 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/1.167, allocations: 10 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.167, allocations: 3.906 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.167, allocations: 0 / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/1.167, allocations: 326.3 kB / 1.13 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/1.168, allocations: 156.6 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/1.168, allocations: 7.469 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/1.168, allocations: 17.12 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/1.168, allocations: 24.41 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/1.168, allocations: 10.09 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002872/1.168, allocations: 219.5 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.168, allocations: 4 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004336/1.169, allocations: 76.33 kB / 1.13 GB, free: 28.16 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002/1.171, allocations: 1.157 MB / 1.132 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005719/1.171, allocations: 225.3 kB / 1.132 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.172, allocations: 3.938 kB / 1.132 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.172, allocations: 121.5 kB / 1.132 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/1.173, allocations: 33.73 kB / 1.132 GB, free: 27.42 MB / 0.698 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/1.178, allocations: 1.453 MB / 1.133 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/1.178, allocations: 0.7627 MB / 1.134 GB, free: 26.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009598/1.179, allocations: 146.5 kB / 1.134 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/1.18, allocations: 93.66 kB / 1.134 GB, free: 26.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.864e-06/1.18, allocations: 3.938 kB / 1.134 GB, free: 26.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.981/3.161, allocations: 5.509 MB / 1.14 GB, free: 23.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/3.161, allocations: 251.9 kB / 1.14 GB, free: 23.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/6.263, allocations: 0 / 1.14 GB, free: 23.52 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)