Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009177/0.0009178, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4522/0.4522, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.226/1.226, allocations: 221.3 MB / 348.3 MB, free: 0.4961 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.0008666/0.0008666, allocations: 101.4 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.798e-05, allocations: 4 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3466, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.971/4.318, allocations: 1.86 GB / 2.42 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/4.318, allocations: 87.95 kB / 2.42 GB, free: 166 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.468/5.786, allocations: 409.4 MB / 2.82 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/5.786, allocations: 0 / 2.82 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001036/5.786, allocations: 38.81 kB / 2.82 GB, free: 113.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002752/5.789, allocations: 1.616 MB / 2.822 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/5.789, allocations: 15.39 kB / 2.822 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/5.791, allocations: 398.7 kB / 2.822 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/5.793, allocations: 1.17 MB / 2.823 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/5.793, allocations: 94.47 kB / 2.823 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/5.793, allocations: 128.3 kB / 2.823 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/5.795, allocations: 1.389 MB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/5.795, allocations: 3.938 kB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/5.795, allocations: 67.38 kB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/5.795, allocations: 32.03 kB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/5.798, allocations: 1.443 MB / 2.826 GB, free: 112.1 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/5.803, allocations: 4.891 MB / 2.831 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/5.805, allocations: 1.387 MB / 2.832 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/5.806, allocations: 442.6 kB / 2.833 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/5.806, allocations: 420.4 kB / 2.833 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007655/5.807, allocations: 0.6028 MB / 2.834 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=98): time 3.597e-06/5.807, allocations: 3.75 kB / 2.834 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98): time 0.002017/5.809, allocations: 1.021 MB / 2.835 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/5.809, allocations: 241.8 kB / 2.835 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/5.81, allocations: 0.7958 MB / 2.836 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/5.81, allocations: 49.95 kB / 2.836 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/5.81, allocations: 0.5684 MB / 2.837 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/5.811, allocations: 328.9 kB / 2.837 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/5.811, allocations: 18.19 kB / 2.837 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/5.811, allocations: 337.3 kB / 2.837 GB, free: 108 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/5.811, allocations: 328.5 kB / 2.837 GB, free: 108 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/5.812, allocations: 0.5221 MB / 2.838 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/5.812, allocations: 404.4 kB / 2.838 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.812, allocations: 3.688 kB / 2.838 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001784/5.814, allocations: 1.071 MB / 2.839 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/5.814, allocations: 6.969 kB / 2.839 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/5.814, allocations: 5.656 kB / 2.839 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/5.815, allocations: 91.3 kB / 2.84 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009282/5.816, allocations: 224.8 kB / 2.84 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/5.817, allocations: 1.536 MB / 2.841 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/5.818, allocations: 140.1 kB / 2.841 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/5.818, allocations: 41.11 kB / 2.841 GB, free: 106.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/5.819, allocations: 168.8 kB / 2.842 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/5.819, allocations: 115.1 kB / 2.842 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/5.821, allocations: 1.313 MB / 2.843 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/5.821, allocations: 11.06 kB / 2.843 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/5.821, allocations: 3 kB / 2.843 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/5.821, allocations: 7.469 kB / 2.843 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/5.825, allocations: 2.661 MB / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/5.825, allocations: 0 / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/5.826, allocations: 218.9 kB / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/5.826, allocations: 86.19 kB / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/5.826, allocations: 30.12 kB / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/5.828, allocations: 1.561 MB / 2.847 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/5.828, allocations: 0 / 2.847 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/5.83, allocations: 1.193 MB / 2.849 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005066/5.83, allocations: 366.1 kB / 2.849 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/5.83, allocations: 21.72 kB / 2.849 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008394/5.831, allocations: 110.5 kB / 2.849 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/5.831, allocations: 75.78 kB / 2.849 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/5.831, allocations: 49.83 kB / 2.849 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006815/5.832, allocations: 0.6242 MB / 2.85 GB, free: 104 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/5.832, allocations: 0 / 2.85 GB, free: 104 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001788/5.834, allocations: 0.6107 MB / 2.85 GB, free: 103.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/5.837, allocations: 1.869 MB / 2.852 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001847/5.839, allocations: 1.002 MB / 2.853 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/5.839, allocations: 0 / 2.853 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/5.839, allocations: 0.621 MB / 2.854 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/5.842, allocations: 462.4 kB / 2.854 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/5.846, allocations: 1.844 MB / 2.856 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/5.847, allocations: 1.209 MB / 2.857 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001333/5.848, allocations: 377 kB / 2.858 GB, free: 102 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/5.848, allocations: 131.4 kB / 2.858 GB, free: 102 MB / 0.6042 GB Notification: Performance of SimCode: time 1.502e-06/5.848, allocations: 0 / 2.858 GB, free: 102 MB / 0.6042 GB Notification: Performance of Templates: time 0.05893/5.907, allocations: 42.09 MB / 2.899 GB, free: 100.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)