Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001588/0.001588, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.001857/0.001857, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 55.91 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7012, allocations: 151.6 MB / 1.167 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.167/0.8682, allocations: 176.8 MB / 1.34 GB, free: 2.457 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.884, allocations: 12.8 MB / 1.352 GB, free: 5.609 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.8852, allocations: 31.81 kB / 1.352 GB, free: 5.578 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.8867, allocations: 488.3 kB / 1.353 GB, free: 5.098 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.8897, allocations: 1.05 MB / 1.354 GB, free: 4.047 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004339/0.894, allocations: 1.891 MB / 1.356 GB, free: 2.164 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.897, allocations: 2.539 MB / 1.358 GB, free: 15.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.8993, allocations: 1.61 MB / 1.36 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.903, allocations: 1.462 MB / 1.361 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.9042, allocations: 0.8869 MB / 1.362 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.9046, allocations: 172 kB / 1.362 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.9073, allocations: 1.419 MB / 1.364 GB, free: 10.04 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005025/0.9078, allocations: 494.5 kB / 1.364 GB, free: 9.551 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.909, allocations: 0.8824 MB / 1.365 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.9129, allocations: 2.8 MB / 1.368 GB, free: 5.855 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.9129, allocations: 0 / 1.368 GB, free: 5.855 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9129, allocations: 0 / 1.368 GB, free: 5.855 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.396e-05/0.913, allocations: 4 kB / 1.368 GB, free: 5.852 MB / 1.092 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.003892/0.9169, allocations: 2.028 MB / 1.37 GB, free: 3.762 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.9169, allocations: 8.031 kB / 1.37 GB, free: 3.754 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.9197, allocations: 405.5 kB / 1.37 GB, free: 3.355 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.9214, allocations: 1.031 MB / 1.371 GB, free: 2.277 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.259e-05/0.9215, allocations: 102.7 kB / 1.371 GB, free: 2.176 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.9217, allocations: 132 kB / 1.371 GB, free: 2.047 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.9244, allocations: 1.52 MB / 1.373 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.9244, allocations: 4 kB / 1.373 GB, free: 456 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.9246, allocations: 56 kB / 1.373 GB, free: 400 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.9246, allocations: 36 kB / 1.373 GB, free: 364 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.9273, allocations: 1.583 MB / 1.375 GB, free: 14.77 MB / 1.107 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.006879/0.9342, allocations: 5.294 MB / 1.38 GB, free: 9.156 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.9368, allocations: 1.515 MB / 1.381 GB, free: 7.566 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008243/0.9376, allocations: 486.4 kB / 1.382 GB, free: 7.086 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.9383, allocations: 425.3 kB / 1.382 GB, free: 6.598 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.9395, allocations: 0.7034 MB / 1.383 GB, free: 5.879 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 4.058e-06/0.9396, allocations: 0 / 1.383 GB, free: 5.879 MB / 1.107 GB Notification: Performance of matching and sorting (n=107): time 0.004269/0.9438, allocations: 1.653 MB / 1.384 GB, free: 4.195 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.9439, allocations: 204.8 kB / 1.385 GB, free: 3.953 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.9451, allocations: 0.8998 MB / 1.385 GB, free: 3.031 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.9452, allocations: 41.7 kB / 1.385 GB, free: 2.984 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.9456, allocations: 0.5936 MB / 1.386 GB, free: 2.383 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.9459, allocations: 358.9 kB / 1.386 GB, free: 2.027 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.9462, allocations: 214.7 kB / 1.387 GB, free: 1.812 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9463, allocations: 345.9 kB / 1.387 GB, free: 1.469 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.9471, allocations: 394.4 kB / 1.387 GB, free: 1.082 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009284/0.948, allocations: 0.5708 MB / 1.388 GB, free: 472 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.9498, allocations: 0.9565 MB / 1.389 GB, free: 15.46 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9498, allocations: 7.938 kB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002648/0.9524, allocations: 1.231 MB / 1.39 GB, free: 14.21 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.9525, allocations: 11.94 kB / 1.39 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.9525, allocations: 4 kB / 1.39 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.9531, allocations: 93.08 kB / 1.39 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.9542, allocations: 255.6 kB / 1.39 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.9562, allocations: 1.65 MB / 1.392 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.9573, allocations: 144.3 kB / 1.392 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.9574, allocations: 55.89 kB / 1.392 GB, free: 11.86 MB / 1.123 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.0005671/0.9579, allocations: 335.3 kB / 1.392 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.9582, allocations: 122.5 kB / 1.393 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.9612, allocations: 1.437 MB / 1.394 GB, free: 9.957 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.9613, allocations: 7.984 kB / 1.394 GB, free: 9.949 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9613, allocations: 0 / 1.394 GB, free: 9.949 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.9618, allocations: 355.2 kB / 1.394 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.962, allocations: 20 kB / 1.394 GB, free: 9.562 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/0.9629, allocations: 79.91 kB / 1.394 GB, free: 9.484 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.9631, allocations: 80.88 kB / 1.395 GB, free: 9.402 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002892/0.966, allocations: 1.303 MB / 1.396 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003171/0.9691, allocations: 1.926 MB / 1.398 GB, free: 6.148 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008382/0.97, allocations: 0.5076 MB / 1.398 GB, free: 5.645 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007533/0.9708, allocations: 0.615 MB / 1.399 GB, free: 5.02 MB / 1.123 GB Notification: Performance of Backend: time 5.41e-07/0.9708, allocations: 0 / 1.399 GB, free: 5.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004151/0.9749, allocations: 1.701 MB / 1.4 GB, free: 3.504 MB / 1.123 GB Notification: Performance of SimCode: time 0.00428/0.9792, allocations: 2.804 MB / 1.403 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of Templates: time 0.04024/1.019, allocations: 27.76 MB / 1.43 GB, free: 5.133 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)