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.595/1.595, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001257/0.001257, allocations: 184.8 kB / 366.7 MB, free: 1.691 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.352/1.352, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0007415/0.0007414, allocations: 95.56 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.151e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6396, allocations: 116.3 MB / 0.9732 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.069/4.709, allocations: 2.101 GB / 3.074 GB, free: 27.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/4.709, allocations: 92.44 kB / 3.075 GB, free: 27.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.283/5.992, allocations: 399.4 MB / 3.465 GB, free: 9.797 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/5.992, allocations: 0 / 3.465 GB, free: 9.797 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001575/5.992, allocations: 36 kB / 3.465 GB, free: 9.762 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.003805/5.996, allocations: 1.585 MB / 3.466 GB, free: 8.125 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/5.996, allocations: 8.031 kB / 3.466 GB, free: 8.117 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/5.999, allocations: 405.9 kB / 3.467 GB, free: 7.719 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/6.001, allocations: 1.153 MB / 3.468 GB, free: 6.523 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/6.001, allocations: 44 kB / 3.468 GB, free: 6.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/6.002, allocations: 72 kB / 3.468 GB, free: 6.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002299/6.004, allocations: 1.363 MB / 3.469 GB, free: 5.043 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/6.006, allocations: 1.189 MB / 3.47 GB, free: 3.777 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/6.006, allocations: 0 / 3.47 GB, free: 3.777 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/6.006, allocations: 8 kB / 3.47 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/6.006, allocations: 32 kB / 3.47 GB, free: 3.738 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.5291/6.535, allocations: 4.595 MB / 3.475 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/6.538, allocations: 1.337 MB / 3.476 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/6.538, allocations: 408.7 kB / 3.476 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/6.539, allocations: 425.8 kB / 3.477 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009263/6.54, allocations: 0.5694 MB / 3.477 GB, free: 222.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.025e-06/6.54, allocations: 0 / 3.477 GB, free: 222.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.002995/6.543, allocations: 1.049 MB / 3.478 GB, free: 222.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/6.543, allocations: 247.3 kB / 3.479 GB, free: 222.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009542/6.544, allocations: 0.6155 MB / 3.479 GB, free: 222.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.02e-05/6.544, allocations: 28.45 kB / 3.479 GB, free: 222.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/6.545, allocations: 0.5697 MB / 3.48 GB, free: 222.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/6.545, allocations: 315.9 kB / 3.48 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/6.545, allocations: 0 / 3.48 GB, free: 222.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/6.545, allocations: 335.3 kB / 3.48 GB, free: 221.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/6.546, allocations: 318.2 kB / 3.481 GB, free: 221.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/6.546, allocations: 0.4895 MB / 3.481 GB, free: 221.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/6.547, allocations: 486 kB / 3.482 GB, free: 221.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/6.547, allocations: 0.75 kB / 3.482 GB, free: 221.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002596/6.55, allocations: 1.087 MB / 3.483 GB, free: 221.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/6.55, allocations: 7.375 kB / 3.483 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/6.55, allocations: 3.922 kB / 3.483 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/6.551, allocations: 92.48 kB / 3.483 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/6.552, allocations: 227.2 kB / 3.483 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/6.553, allocations: 1.468 MB / 3.485 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/6.554, allocations: 105 kB / 3.485 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/6.555, allocations: 45.92 kB / 3.485 GB, free: 220.2 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.0002454/6.555, allocations: 128 kB / 3.485 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/6.555, allocations: 101.1 kB / 3.485 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/6.558, allocations: 1.319 MB / 3.486 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/6.558, allocations: 18.47 kB / 3.486 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/6.559, allocations: 0 / 3.486 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/6.559, allocations: 6.766 kB / 3.486 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/6.564, allocations: 2.506 MB / 3.489 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/6.564, allocations: 7.25 kB / 3.489 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/6.565, allocations: 216.4 kB / 3.489 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/6.565, allocations: 87.41 kB / 3.489 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/6.565, allocations: 18.25 kB / 3.489 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/6.567, allocations: 1.491 MB / 3.49 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/6.567, allocations: 0 / 3.49 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/6.57, allocations: 1.219 MB / 3.492 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/6.57, allocations: 355.2 kB / 3.492 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/6.57, allocations: 0 / 3.492 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/6.571, allocations: 85.62 kB / 3.492 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/6.571, allocations: 75.92 kB / 3.492 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-05/6.571, allocations: 46.86 kB / 3.492 GB, free: 218 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006547/6.572, allocations: 492.3 kB / 3.493 GB, free: 217.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.022e-06/6.572, allocations: 0 / 3.493 GB, free: 217.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001737/6.574, allocations: 0.5292 MB / 3.493 GB, free: 217.9 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.002979/6.577, allocations: 1.96 MB / 3.495 GB, free: 217.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001673/6.579, allocations: 0.9473 MB / 3.496 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/6.579, allocations: 4.5 kB / 3.496 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008828/6.579, allocations: 0.5939 MB / 3.497 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/6.581, allocations: 364 kB / 3.497 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/6.585, allocations: 1.777 MB / 3.499 GB, free: 216.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/6.586, allocations: 1.195 MB / 3.5 GB, free: 216.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001521/6.588, allocations: 364.3 kB / 3.5 GB, free: 216.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/6.588, allocations: 118.8 kB / 3.5 GB, free: 216.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.263e-06/6.588, allocations: 0 / 3.5 GB, free: 216.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05271/6.641, allocations: 26.79 MB / 3.526 GB, free: 215.5 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)