Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4578/0.4579, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009775, allocations: 100.2 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 11.98 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1722, allocations: 72.31 MB / 0.5689 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.6178, allocations: 105.1 MB / 0.6716 GB, free: 15.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6181, allocations: 91.94 kB / 0.6717 GB, free: 15.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0212/0.6393, allocations: 8.243 MB / 0.6797 GB, free: 6.949 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6394, allocations: 4 kB / 0.6797 GB, free: 6.945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.072e-05/0.6394, allocations: 11.94 kB / 0.6797 GB, free: 6.934 MB / 474.7 MB 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.0008029/0.6402, allocations: 0.4993 MB / 0.6802 GB, free: 6.383 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.6403, allocations: 12.02 kB / 0.6802 GB, free: 6.371 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.287e-05/0.6404, allocations: 46.5 kB / 0.6803 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.6405, allocations: 31.66 kB / 0.6803 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.6409, allocations: 266.5 kB / 0.6806 GB, free: 5.984 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.6409, allocations: 23.98 kB / 0.6806 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.641, allocations: 16 kB / 0.6806 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.6413, allocations: 201 kB / 0.6808 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6414, allocations: 0 / 0.6808 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.6414, allocations: 8 kB / 0.6808 GB, free: 5.723 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6414, allocations: 0 / 0.6808 GB, free: 5.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008779/0.6423, allocations: 0.741 MB / 0.6815 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009586/0.6432, allocations: 0.567 MB / 0.6821 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.6437, allocations: 292.6 kB / 0.6824 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.6438, allocations: 20.25 kB / 0.6824 GB, free: 4.047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.6441, allocations: 181.9 kB / 0.6826 GB, free: 3.859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.6441, allocations: 4 kB / 0.6826 GB, free: 3.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006539/0.6448, allocations: 365.1 kB / 0.6829 GB, free: 3.492 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.6449, allocations: 132.5 kB / 0.683 GB, free: 3.332 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.6452, allocations: 259.2 kB / 0.6833 GB, free: 3.066 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.6452, allocations: 33.7 kB / 0.6833 GB, free: 3.027 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.6453, allocations: 128.6 kB / 0.6834 GB, free: 2.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.6454, allocations: 110.4 kB / 0.6835 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.6454, allocations: 8 kB / 0.6835 GB, free: 2.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6456, allocations: 342.8 kB / 0.6839 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6457, allocations: 79.95 kB / 0.6839 GB, free: 2.355 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.6459, allocations: 131.4 kB / 0.6841 GB, free: 2.215 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.6461, allocations: 99.95 kB / 0.6842 GB, free: 2.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6461, allocations: 0 / 0.6842 GB, free: 2.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004223/0.6465, allocations: 273.6 kB / 0.6844 GB, free: 1.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6466, allocations: 8 kB / 0.6844 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6466, allocations: 4 kB / 0.6844 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6466, allocations: 3.953 kB / 0.6844 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.6468, allocations: 63.91 kB / 0.6845 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6469, allocations: 0 / 0.6845 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.647, allocations: 31.73 kB / 0.6845 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.6471, allocations: 11.98 kB / 0.6845 GB, free: 1.723 MB / 474.7 MB 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.0001626/0.6472, allocations: 161.8 kB / 0.6847 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.6473, allocations: 23.72 kB / 0.6847 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.6479, allocations: 397.4 kB / 0.6851 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.648, allocations: 3.953 kB / 0.6851 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.648, allocations: 4 kB / 0.6851 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.648, allocations: 3.984 kB / 0.6851 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.6483, allocations: 337.1 kB / 0.6854 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6483, allocations: 0 / 0.6854 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.6485, allocations: 55.92 kB / 0.6855 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6485, allocations: 7.984 kB / 0.6855 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6485, allocations: 12 kB / 0.6855 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6486, allocations: 0 / 0.6855 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6486, allocations: 7.953 kB / 0.6855 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.649, allocations: 313.7 kB / 0.6858 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.6492, allocations: 152.7 kB / 0.686 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.6492, allocations: 8 kB / 0.686 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.6494, allocations: 16 kB / 0.686 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.6495, allocations: 31.89 kB / 0.686 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.6495, allocations: 15.95 kB / 0.686 GB, free: 104 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.6497, allocations: 217.8 kB / 0.6862 GB, free: 15.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6497, allocations: 3.938 kB / 0.6862 GB, free: 15.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.65, allocations: 67.94 kB / 0.6863 GB, free: 15.82 MB / 490.7 MB 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.001523/0.6515, allocations: 1.152 MB / 0.6874 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.6519, allocations: 223.6 kB / 0.6876 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6519, allocations: 0 / 0.6876 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.6521, allocations: 135.8 kB / 0.6878 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.6523, allocations: 31.34 kB / 0.6878 GB, free: 14.41 MB / 490.7 MB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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.002135/0.6545, allocations: 1.468 MB / 0.6892 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.6549, allocations: 0.7612 MB / 0.69 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.6552, allocations: 150.8 kB / 0.6901 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.6554, allocations: 103.3 kB / 0.6902 GB, free: 11.86 MB / 490.7 MB Notification: Performance of SimCode: time 2.154e-06/0.6554, allocations: 0 / 0.6902 GB, free: 11.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9639/1.619, allocations: 5.481 MB / 0.6956 GB, free: 6.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/1.62, allocations: 248 kB / 0.6958 GB, free: 6.324 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/5.268, allocations: 0 / 0.6958 GB, free: 6.324 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)