Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json 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/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 114.8 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 186.6 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.152/2.152, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.84 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7391, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1842/0.9233, allocations: 176 MB / 1.261 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.9385, allocations: 12.74 MB / 1.273 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.9399, allocations: 31.81 kB / 1.273 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.9411, allocations: 452.6 kB / 1.273 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.9438, allocations: 0.9946 MB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004101/0.9479, allocations: 1.883 MB / 1.276 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002822/0.9507, allocations: 2.415 MB / 1.279 GB, free: 11.13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.9526, allocations: 1.629 MB / 1.28 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.9561, allocations: 1.438 MB / 1.282 GB, free: 8.047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.9571, allocations: 0.8674 MB / 1.282 GB, free: 7.176 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.9573, allocations: 172 kB / 1.283 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.9598, allocations: 1.423 MB / 1.284 GB, free: 5.582 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.9603, allocations: 494.5 kB / 1.284 GB, free: 5.098 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007546/0.961, allocations: 0.8474 MB / 1.285 GB, free: 4.246 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.9643, allocations: 2.761 MB / 1.288 GB, free: 1.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9644, allocations: 0 / 1.288 GB, free: 1.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9644, allocations: 3.938 kB / 1.288 GB, free: 1.473 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.331e-05/0.9644, allocations: 0 / 1.288 GB, free: 1.473 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003232/0.9676, allocations: 2.009 MB / 1.29 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.9677, allocations: 8.031 kB / 1.29 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.9703, allocations: 413.5 kB / 1.29 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.9718, allocations: 1.023 MB / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.9719, allocations: 102.7 kB / 1.291 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.9721, allocations: 132 kB / 1.292 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.9746, allocations: 1.528 MB / 1.293 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.9746, allocations: 4 kB / 1.293 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.9747, allocations: 60 kB / 1.293 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.9748, allocations: 36 kB / 1.293 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.9774, allocations: 1.583 MB / 1.295 GB, free: 10.4 MB / 1.029 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.00644/0.9838, allocations: 5.032 MB / 1.3 GB, free: 5.102 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.9863, allocations: 1.511 MB / 1.301 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.9871, allocations: 493.5 kB / 1.302 GB, free: 3.039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.9879, allocations: 433.2 kB / 1.302 GB, free: 2.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.9891, allocations: 0.6841 MB / 1.303 GB, free: 1.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/0.9891, allocations: 0 / 1.303 GB, free: 1.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.004103/0.9932, allocations: 1.668 MB / 1.304 GB, free: 148 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.9933, allocations: 196.9 kB / 1.304 GB, free: 15.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.9944, allocations: 0.8882 MB / 1.305 GB, free: 15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.9945, allocations: 49.7 kB / 1.305 GB, free: 14.94 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.9949, allocations: 0.5896 MB / 1.306 GB, free: 14.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.9952, allocations: 366.9 kB / 1.306 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.9955, allocations: 206.8 kB / 1.307 GB, free: 13.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9956, allocations: 349.9 kB / 1.307 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.9964, allocations: 398.4 kB / 1.307 GB, free: 13.04 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.9973, allocations: 0.5784 MB / 1.308 GB, free: 12.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.999, allocations: 0.9527 MB / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.999, allocations: 4 kB / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002611/1.002, allocations: 1.231 MB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.002, allocations: 11.94 kB / 1.31 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.002, allocations: 4 kB / 1.31 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/1.002, allocations: 84.8 kB / 1.31 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.003, allocations: 251.7 kB / 1.31 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/1.005, allocations: 1.638 MB / 1.312 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.006, allocations: 134.9 kB / 1.312 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/1.006, allocations: 55.91 kB / 1.312 GB, free: 7.848 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005941/1.007, allocations: 357.1 kB / 1.312 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/1.007, allocations: 118.6 kB / 1.312 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/1.01, allocations: 1.429 MB / 1.314 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.01, allocations: 7.922 kB / 1.314 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.01, allocations: 0 / 1.314 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/1.011, allocations: 355.1 kB / 1.314 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/1.011, allocations: 27.94 kB / 1.314 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/1.012, allocations: 81.53 kB / 1.314 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.012, allocations: 84.88 kB / 1.314 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002826/1.015, allocations: 1.295 MB / 1.316 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003079/1.018, allocations: 1.934 MB / 1.318 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000837/1.019, allocations: 0.5036 MB / 1.318 GB, free: 1.605 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007768/1.02, allocations: 0.615 MB / 1.319 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of Backend: time 6.21e-07/1.02, allocations: 4 kB / 1.319 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004224/1.024, allocations: 1.691 MB / 1.32 GB, free: 15.51 MB / 1.061 GB Notification: Performance of SimCode: time 0.004308/1.028, allocations: 2.793 MB / 1.323 GB, free: 12.68 MB / 1.061 GB Notification: Performance of Templates: time 0.04222/1.07, allocations: 27.34 MB / 1.35 GB, free: 1.609 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)