Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001244/0.001243, allocations: 185 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.6367 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009003/0.0009003, allocations: 91.34 kB / 0.751 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.000388, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3026, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.398/5.701, allocations: 2.102 GB / 3.09 GB, free: 79.95 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/5.701, allocations: 89.08 kB / 3.09 GB, free: 79.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.559/7.26, allocations: 405.4 MB / 3.486 GB, free: 49.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.226e-06/7.26, allocations: 0 / 3.486 GB, free: 49.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000204/7.261, allocations: 39.98 kB / 3.486 GB, free: 49.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005989/7.267, allocations: 1.747 MB / 3.488 GB, free: 47.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/7.267, allocations: 12.03 kB / 3.488 GB, free: 47.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/7.27, allocations: 400.1 kB / 3.488 GB, free: 46.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/7.273, allocations: 1.168 MB / 3.49 GB, free: 45.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/7.273, allocations: 94.58 kB / 3.49 GB, free: 45.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/7.273, allocations: 124.9 kB / 3.49 GB, free: 45.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/7.276, allocations: 1.42 MB / 3.491 GB, free: 43.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/7.276, allocations: 3.781 kB / 3.491 GB, free: 43.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/7.276, allocations: 60 kB / 3.491 GB, free: 43.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/7.276, allocations: 32 kB / 3.491 GB, free: 43.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/7.278, allocations: 1.52 MB / 3.493 GB, free: 42.34 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006697/7.285, allocations: 4.844 MB / 3.497 GB, free: 37.26 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/7.287, allocations: 1.476 MB / 3.499 GB, free: 35.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/7.288, allocations: 425.4 kB / 3.499 GB, free: 35.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009728/7.289, allocations: 0.6372 MB / 3.5 GB, free: 34.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 2.355e-06/7.289, allocations: 0 / 3.5 GB, free: 34.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.003843/7.292, allocations: 1.595 MB / 3.501 GB, free: 32.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/7.293, allocations: 248.3 kB / 3.502 GB, free: 32.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/7.294, allocations: 0.7824 MB / 3.502 GB, free: 31.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/7.294, allocations: 53.69 kB / 3.503 GB, free: 31.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/7.295, allocations: 0.5584 MB / 3.503 GB, free: 31.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/7.295, allocations: 327.2 kB / 3.503 GB, free: 30.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/7.295, allocations: 16 kB / 3.503 GB, free: 30.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/7.295, allocations: 345.9 kB / 3.504 GB, free: 30.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/7.296, allocations: 353.8 kB / 3.504 GB, free: 30.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007719/7.297, allocations: 0.5531 MB / 3.505 GB, free: 29.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/7.298, allocations: 438.8 kB / 3.505 GB, free: 29.13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/7.298, allocations: 0 / 3.505 GB, free: 29.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00242/7.3, allocations: 1.141 MB / 3.506 GB, free: 27.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/7.3, allocations: 4 kB / 3.506 GB, free: 27.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/7.3, allocations: 4 kB / 3.506 GB, free: 27.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/7.301, allocations: 89.14 kB / 3.506 GB, free: 27.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/7.302, allocations: 231.7 kB / 3.506 GB, free: 27.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/7.304, allocations: 1.552 MB / 3.508 GB, free: 25.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/7.305, allocations: 139.3 kB / 3.508 GB, free: 25.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/7.305, allocations: 39.98 kB / 3.508 GB, free: 25.78 MB / 0.948 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 () * Number of clocked 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.0009855/7.306, allocations: 325.6 kB / 3.508 GB, free: 25.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/7.306, allocations: 118.6 kB / 3.509 GB, free: 25.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/7.309, allocations: 1.38 MB / 3.51 GB, free: 23.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/7.309, allocations: 8 kB / 3.51 GB, free: 23.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/7.309, allocations: 4 kB / 3.51 GB, free: 23.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/7.309, allocations: 3.984 kB / 3.51 GB, free: 23.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/7.314, allocations: 2.711 MB / 3.513 GB, free: 21.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/7.314, allocations: 0 / 3.513 GB, free: 21.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009813/7.315, allocations: 219.7 kB / 3.513 GB, free: 20.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/7.315, allocations: 88.77 kB / 3.513 GB, free: 20.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/7.315, allocations: 27.97 kB / 3.513 GB, free: 20.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/7.317, allocations: 1.567 MB / 3.514 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/7.317, allocations: 0 / 3.514 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/7.319, allocations: 1.265 MB / 3.516 GB, free: 17.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007316/7.32, allocations: 371.2 kB / 3.516 GB, free: 17.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/7.32, allocations: 24.06 kB / 3.516 GB, free: 17.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/7.321, allocations: 103.9 kB / 3.516 GB, free: 17.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/7.321, allocations: 72.89 kB / 3.516 GB, free: 17.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/7.322, allocations: 43.97 kB / 3.516 GB, free: 17.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009642/7.323, allocations: 0.6289 MB / 3.517 GB, free: 16.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.323, allocations: 0 / 3.517 GB, free: 16.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00217/7.325, allocations: 0.5886 MB / 3.517 GB, free: 15.98 MB / 0.948 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) * Number of clocked states: 0 () * 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.003393/7.328, allocations: 1.874 MB / 3.519 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00214/7.33, allocations: 1.058 MB / 3.52 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/7.33, allocations: 0 / 3.52 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009853/7.331, allocations: 0.6601 MB / 3.521 GB, free: 12.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/7.333, allocations: 453.3 kB / 3.521 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/7.339, allocations: 2.941 MB / 3.524 GB, free: 9.039 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/7.339, allocations: 1.203 MB / 3.525 GB, free: 7.805 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001679/7.341, allocations: 381 kB / 3.526 GB, free: 7.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/7.341, allocations: 127.4 kB / 3.526 GB, free: 7.305 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/7.341, allocations: 0 / 3.526 GB, free: 7.305 MB / 0.948 GB Notification: Performance of Templates: time 0.679/8.02, allocations: 38.07 MB / 3.563 GB, free: 178.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)