Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7256/0.7256, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 174 kB / 187.2 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 96.48 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 272.9 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.113e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3514, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4625, allocations: 112.2 MB / 0.8739 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4628, allocations: 93.22 kB / 0.874 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.4829, allocations: 8.051 MB / 0.8819 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4829, allocations: 0 / 0.8819 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.4829, allocations: 11.94 kB / 0.8819 GB, free: 4.246 MB / 0.5417 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.0005275/0.4835, allocations: 482.6 kB / 0.8823 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4835, allocations: 11.97 kB / 0.8823 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.4836, allocations: 50.55 kB / 0.8824 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.4836, allocations: 23.72 kB / 0.8824 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.484, allocations: 270.5 kB / 0.8827 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.484, allocations: 15.89 kB / 0.8827 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.484, allocations: 16 kB / 0.8827 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.4843, allocations: 208.7 kB / 0.8829 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4844, allocations: 0 / 0.8829 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.4844, allocations: 4 kB / 0.8829 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4844, allocations: 4 kB / 0.8829 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.4852, allocations: 0.7295 MB / 0.8836 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.486, allocations: 0.5669 MB / 0.8842 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.4864, allocations: 292.5 kB / 0.8844 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4866, allocations: 101.4 kB / 0.8845 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.4866, allocations: 20.25 kB / 0.8846 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.4869, allocations: 177.4 kB / 0.8847 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.4869, allocations: 4 kB / 0.8847 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0004425/0.4874, allocations: 265.3 kB / 0.885 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.4874, allocations: 136.5 kB / 0.8851 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.4877, allocations: 260.1 kB / 0.8854 GB, free: 432 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.4878, allocations: 29.7 kB / 0.8854 GB, free: 396 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.4878, allocations: 124.8 kB / 0.8855 GB, free: 268 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.4879, allocations: 114.4 kB / 0.8856 GB, free: 152 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.4879, allocations: 4 kB / 0.8856 GB, free: 148 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4881, allocations: 342.8 kB / 0.886 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4882, allocations: 79.97 kB / 0.886 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4884, allocations: 127.5 kB / 0.8862 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4885, allocations: 96.39 kB / 0.8862 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4885, allocations: 0 / 0.8862 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003772/0.4889, allocations: 269.2 kB / 0.8865 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4889, allocations: 8 kB / 0.8865 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.489, allocations: 4 kB / 0.8865 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.489, allocations: 0 / 0.8865 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.4892, allocations: 63.91 kB / 0.8866 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4892, allocations: 0 / 0.8866 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.4894, allocations: 35.67 kB / 0.8866 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.4894, allocations: 12 kB / 0.8866 GB, free: 15.1 MB / 0.5573 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 () * 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 8.91e-05/0.4895, allocations: 124.9 kB / 0.8867 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.4895, allocations: 23.72 kB / 0.8868 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.4902, allocations: 378.7 kB / 0.8871 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4902, allocations: 4 kB / 0.8871 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4902, allocations: 7.938 kB / 0.8871 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4902, allocations: 3.984 kB / 0.8871 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.4905, allocations: 345.1 kB / 0.8875 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4905, allocations: 0 / 0.8875 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.4907, allocations: 55.91 kB / 0.8875 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4907, allocations: 8 kB / 0.8875 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4907, allocations: 8 kB / 0.8875 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4907, allocations: 3.984 kB / 0.8875 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4907, allocations: 0 / 0.8875 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.4911, allocations: 318.2 kB / 0.8878 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4913, allocations: 156.6 kB / 0.888 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.4914, allocations: 8 kB / 0.888 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4915, allocations: 23.98 kB / 0.888 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.4916, allocations: 19.97 kB / 0.888 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4916, allocations: 16.03 kB / 0.8881 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001935/0.4918, allocations: 212.5 kB / 0.8883 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4918, allocations: 0 / 0.8883 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002719/0.4921, allocations: 67.98 kB / 0.8883 GB, free: 13.27 MB / 0.5573 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) * 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.001291/0.4934, allocations: 1.125 MB / 0.8894 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.4937, allocations: 220.2 kB / 0.8896 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4937, allocations: 0 / 0.8896 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.4939, allocations: 127.8 kB / 0.8898 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.4941, allocations: 30.22 kB / 0.8898 GB, free: 11.86 MB / 0.5573 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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.0007956/0.4949, allocations: 486.8 kB / 0.8902 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4952, allocations: 0.7572 MB / 0.891 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.4955, allocations: 158.5 kB / 0.8911 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.4956, allocations: 91.39 kB / 0.8912 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.623e-06/0.4956, allocations: 0 / 0.8912 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7492/1.245, allocations: 5.487 MB / 0.8966 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.245, allocations: 240.2 kB / 0.8968 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.97, allocations: 0 / 0.8968 GB, free: 4.82 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)