Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001376/0.001376, allocations: 180.9 kB / 361.4 MB, free: 6.812 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.683/1.683, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000858/0.0008581, allocations: 92.02 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.879e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7059, allocations: 115.3 MB / 0.9644 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/5.452, allocations: 2.1 GB / 3.065 GB, free: 59.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/5.452, allocations: 87.95 kB / 3.065 GB, free: 59.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.342/6.794, allocations: 399.4 MB / 3.455 GB, free: 43.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/6.794, allocations: 0 / 3.455 GB, free: 43.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000109/6.794, allocations: 43.86 kB / 3.455 GB, free: 43.25 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.003052/6.797, allocations: 1.588 MB / 3.456 GB, free: 41.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/6.797, allocations: 8.031 kB / 3.456 GB, free: 41.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/6.799, allocations: 393.7 kB / 3.457 GB, free: 41.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/6.802, allocations: 1.154 MB / 3.458 GB, free: 40.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/6.802, allocations: 44 kB / 3.458 GB, free: 39.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/6.802, allocations: 72 kB / 3.458 GB, free: 39.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001816/6.804, allocations: 1.367 MB / 3.459 GB, free: 38.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/6.806, allocations: 1.193 MB / 3.46 GB, free: 37.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/6.806, allocations: 0 / 3.46 GB, free: 37.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/6.806, allocations: 8 kB / 3.46 GB, free: 37.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/6.806, allocations: 32 kB / 3.46 GB, free: 37.23 MB / 0.948 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.005496/6.811, allocations: 4.582 MB / 3.465 GB, free: 32.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/6.813, allocations: 1.347 MB / 3.466 GB, free: 31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/6.813, allocations: 407.5 kB / 3.467 GB, free: 30.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/6.814, allocations: 425.2 kB / 3.467 GB, free: 30.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007405/6.815, allocations: 0.566 MB / 3.468 GB, free: 29.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 5.6e-06/6.815, allocations: 0 / 3.468 GB, free: 29.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.002522/6.817, allocations: 1.046 MB / 3.469 GB, free: 28.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/6.817, allocations: 244.1 kB / 3.469 GB, free: 28.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/6.818, allocations: 0.6134 MB / 3.469 GB, free: 27.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/6.818, allocations: 29.7 kB / 3.469 GB, free: 27.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/6.818, allocations: 0.5697 MB / 3.47 GB, free: 26.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/6.819, allocations: 323.2 kB / 3.47 GB, free: 26.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/6.819, allocations: 0 / 3.47 GB, free: 26.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/6.819, allocations: 337.9 kB / 3.471 GB, free: 26.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/6.819, allocations: 314.5 kB / 3.471 GB, free: 25.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/6.82, allocations: 0.4956 MB / 3.471 GB, free: 25.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/6.821, allocations: 482 kB / 3.472 GB, free: 24.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/6.821, allocations: 4 kB / 3.472 GB, free: 24.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002075/6.823, allocations: 1.082 MB / 3.473 GB, free: 23.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/6.823, allocations: 11.95 kB / 3.473 GB, free: 23.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/6.823, allocations: 4 kB / 3.473 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/6.823, allocations: 89.05 kB / 3.473 GB, free: 23.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/6.824, allocations: 227.7 kB / 3.473 GB, free: 23.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/6.826, allocations: 1.481 MB / 3.475 GB, free: 21.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/6.827, allocations: 95.3 kB / 3.475 GB, free: 21.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/6.827, allocations: 43.97 kB / 3.475 GB, free: 21.77 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 () * 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.0002333/6.827, allocations: 127.6 kB / 3.475 GB, free: 21.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/6.827, allocations: 98.88 kB / 3.475 GB, free: 21.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/6.83, allocations: 1.332 MB / 3.476 GB, free: 20.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/6.83, allocations: 8 kB / 3.476 GB, free: 20.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/6.83, allocations: 0 / 3.476 GB, free: 20.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/6.83, allocations: 4.078 kB / 3.476 GB, free: 20.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/6.834, allocations: 2.513 MB / 3.479 GB, free: 17.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/6.834, allocations: 8 kB / 3.479 GB, free: 17.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008992/6.835, allocations: 215.8 kB / 3.479 GB, free: 17.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/6.836, allocations: 92.66 kB / 3.479 GB, free: 17.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/6.836, allocations: 15.98 kB / 3.479 GB, free: 17.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/6.837, allocations: 1.492 MB / 3.481 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/6.837, allocations: 0 / 3.481 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/6.839, allocations: 1.227 MB / 3.482 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/6.84, allocations: 351.6 kB / 3.482 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/6.84, allocations: 7.969 kB / 3.482 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/6.841, allocations: 79.86 kB / 3.482 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/6.841, allocations: 77.2 kB / 3.482 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/6.841, allocations: 43.97 kB / 3.482 GB, free: 13.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005382/6.841, allocations: 491.1 kB / 3.483 GB, free: 13.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.841, allocations: 0 / 3.483 GB, free: 13.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001522/6.843, allocations: 0.5258 MB / 3.483 GB, free: 12.86 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) * 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.002579/6.846, allocations: 1.97 MB / 3.485 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00144/6.847, allocations: 0.9535 MB / 3.486 GB, free: 9.941 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.847, allocations: 3.938 kB / 3.486 GB, free: 9.938 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/6.848, allocations: 0.5844 MB / 3.487 GB, free: 9.344 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/6.849, allocations: 368.9 kB / 3.487 GB, free: 8.988 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/6.853, allocations: 1.762 MB / 3.489 GB, free: 7.199 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/6.854, allocations: 1.204 MB / 3.49 GB, free: 5.961 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001263/6.855, allocations: 371.8 kB / 3.49 GB, free: 5.594 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/6.855, allocations: 119.4 kB / 3.49 GB, free: 5.477 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/6.855, allocations: 0 / 3.49 GB, free: 5.477 MB / 0.948 GB Notification: Performance of Templates: time 0.6013/7.457, allocations: 26.78 MB / 3.517 GB, free: 225.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)