Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001388/0.001389, allocations: 112.1 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.001421/0.001421, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.66/2.66, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.11 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6824, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1779/0.8603, allocations: 176.8 MB / 1.394 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.8771, allocations: 12.81 MB / 1.406 GB, free: 4.004 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.8786, allocations: 31.88 kB / 1.406 GB, free: 3.973 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.8801, allocations: 488.3 kB / 1.407 GB, free: 3.492 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.8831, allocations: 1.045 MB / 1.408 GB, free: 2.445 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.8874, allocations: 1.887 MB / 1.409 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.8902, allocations: 2.547 MB / 1.412 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.8924, allocations: 1.602 MB / 1.413 GB, free: 12.35 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.896, allocations: 1.47 MB / 1.415 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.8972, allocations: 0.8816 MB / 1.416 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004022/0.8976, allocations: 172 kB / 1.416 GB, free: 9.852 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.9002, allocations: 1.427 MB / 1.417 GB, free: 8.422 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.9008, allocations: 498.5 kB / 1.418 GB, free: 7.934 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.9019, allocations: 0.8747 MB / 1.419 GB, free: 7.055 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.9054, allocations: 2.796 MB / 1.421 GB, free: 4.25 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9054, allocations: 0 / 1.421 GB, free: 4.25 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9054, allocations: 0 / 1.421 GB, free: 4.25 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.863e-05/0.9055, allocations: 0 / 1.421 GB, free: 4.25 MB / 1.139 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.00394/0.9094, allocations: 2.024 MB / 1.423 GB, free: 2.164 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9094, allocations: 12.62 kB / 1.423 GB, free: 2.152 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/0.9122, allocations: 409.6 kB / 1.424 GB, free: 1.75 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.9139, allocations: 1.027 MB / 1.425 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.083e-05/0.914, allocations: 102.7 kB / 1.425 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.9142, allocations: 132 kB / 1.425 GB, free: 456 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.9169, allocations: 1.521 MB / 1.426 GB, free: 14.84 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.917, allocations: 3.938 kB / 1.426 GB, free: 14.84 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.9171, allocations: 60 kB / 1.427 GB, free: 14.78 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.9171, allocations: 32 kB / 1.427 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.9199, allocations: 1.587 MB / 1.428 GB, free: 13.16 MB / 1.154 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.006947/0.9268, allocations: 5.302 MB / 1.433 GB, free: 7.539 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.9295, allocations: 1.511 MB / 1.435 GB, free: 5.953 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008648/0.9303, allocations: 490.4 kB / 1.435 GB, free: 5.473 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007076/0.931, allocations: 421.3 kB / 1.436 GB, free: 4.988 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.9323, allocations: 0.6918 MB / 1.436 GB, free: 4.277 MB / 1.154 GB Notification: Performance of pre-optimization done (n=107): time 2.996e-06/0.9323, allocations: 0 / 1.436 GB, free: 4.277 MB / 1.154 GB Notification: Performance of matching and sorting (n=107): time 0.00424/0.9366, allocations: 1.66 MB / 1.438 GB, free: 2.59 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.9366, allocations: 196.9 kB / 1.438 GB, free: 2.355 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.9377, allocations: 0.8959 MB / 1.439 GB, free: 1.438 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.9378, allocations: 53.69 kB / 1.439 GB, free: 1.379 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.9383, allocations: 0.5897 MB / 1.44 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.9385, allocations: 362.8 kB / 1.44 GB, free: 432 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.9389, allocations: 214.8 kB / 1.44 GB, free: 212 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.939, allocations: 345.9 kB / 1.44 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008271/0.9398, allocations: 398.4 kB / 1.441 GB, free: 15.47 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.9408, allocations: 0.5668 MB / 1.441 GB, free: 14.85 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.9425, allocations: 0.9566 MB / 1.442 GB, free: 13.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9426, allocations: 0 / 1.442 GB, free: 13.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002766/0.9453, allocations: 1.231 MB / 1.444 GB, free: 12.61 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.9454, allocations: 7.938 kB / 1.444 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.9454, allocations: 4 kB / 1.444 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.946, allocations: 89.12 kB / 1.444 GB, free: 12.51 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.9471, allocations: 255.6 kB / 1.444 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.9493, allocations: 1.653 MB / 1.446 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.9503, allocations: 138.8 kB / 1.446 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.9504, allocations: 55.84 kB / 1.446 GB, free: 10.27 MB / 1.17 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.0005184/0.951, allocations: 343.3 kB / 1.446 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.9512, allocations: 122.6 kB / 1.446 GB, free: 9.805 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.9544, allocations: 1.437 MB / 1.448 GB, free: 8.355 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.9544, allocations: 7.969 kB / 1.448 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9544, allocations: 4 kB / 1.448 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.955, allocations: 355.1 kB / 1.448 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.9552, allocations: 24 kB / 1.448 GB, free: 7.953 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009347/0.9561, allocations: 75.92 kB / 1.448 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.9563, allocations: 88.86 kB / 1.448 GB, free: 7.793 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002994/0.9593, allocations: 1.299 MB / 1.449 GB, free: 6.484 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003227/0.9625, allocations: 1.934 MB / 1.451 GB, free: 4.535 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008677/0.9634, allocations: 0.4998 MB / 1.452 GB, free: 4.035 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007654/0.9642, allocations: 0.6189 MB / 1.452 GB, free: 3.406 MB / 1.17 GB Notification: Performance of Backend: time 4.81e-07/0.9642, allocations: 3.938 kB / 1.452 GB, free: 3.402 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004172/0.9684, allocations: 1.695 MB / 1.454 GB, free: 1.934 MB / 1.17 GB Notification: Performance of SimCode: time 0.004168/0.9725, allocations: 2.794 MB / 1.457 GB, free: 15.1 MB / 1.186 GB Notification: Performance of Templates: time 0.04144/1.014, allocations: 27.77 MB / 1.484 GB, free: 3.609 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)