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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001334/0.001334, allocations: 113 kB / 16.38 MB, free: 6.355 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.001434/0.001434, allocations: 189.2 kB / 17.31 MB, free: 5.895 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.412/2.412, allocations: 442.7 MB / 0.7166 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6951, allocations: 153 MB / 1.177 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1728/0.868, allocations: 176.8 MB / 1.349 GB, free: 9.305 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.8831, allocations: 12.81 MB / 1.362 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009493/0.8841, allocations: 31.81 kB / 1.362 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.8852, allocations: 472.3 kB / 1.362 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.8876, allocations: 1.029 MB / 1.363 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.8914, allocations: 1.872 MB / 1.365 GB, free: 9.055 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00223/0.8937, allocations: 2.543 MB / 1.368 GB, free: 6.5 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.8954, allocations: 1.602 MB / 1.369 GB, free: 4.84 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.8983, allocations: 1.419 MB / 1.371 GB, free: 3.445 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008752/0.8992, allocations: 0.8791 MB / 1.371 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.8994, allocations: 172 kB / 1.372 GB, free: 2.395 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.9016, allocations: 1.427 MB / 1.373 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.902, allocations: 498.6 kB / 1.374 GB, free: 488 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.9028, allocations: 0.8747 MB / 1.374 GB, free: 15.6 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.9055, allocations: 2.796 MB / 1.377 GB, free: 12.79 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9056, allocations: 4 kB / 1.377 GB, free: 12.79 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.426e-06/0.9056, allocations: 0 / 1.377 GB, free: 12.79 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.9056, allocations: 3.938 kB / 1.377 GB, free: 12.79 MB / 1.107 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.003043/0.9086, allocations: 2.024 MB / 1.379 GB, free: 10.7 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.9087, allocations: 19.95 kB / 1.379 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.9113, allocations: 397.6 kB / 1.379 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.9127, allocations: 1.027 MB / 1.381 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/0.9128, allocations: 102.7 kB / 1.381 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.9129, allocations: 139.9 kB / 1.381 GB, free: 8.98 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.9153, allocations: 1.517 MB / 1.382 GB, free: 7.387 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.9154, allocations: 7.938 kB / 1.382 GB, free: 7.379 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.9155, allocations: 59.98 kB / 1.382 GB, free: 7.32 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.9156, allocations: 36 kB / 1.382 GB, free: 7.285 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.9182, allocations: 1.575 MB / 1.384 GB, free: 5.703 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.006382/0.9246, allocations: 5.302 MB / 1.389 GB, free: 80 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.9271, allocations: 1.511 MB / 1.391 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.928, allocations: 486.9 kB / 1.391 GB, free: 14.01 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000698/0.9287, allocations: 425.2 kB / 1.391 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.9298, allocations: 0.6913 MB / 1.392 GB, free: 12.82 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 2.856e-06/0.9299, allocations: 4 kB / 1.392 GB, free: 12.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=107): time 0.004237/0.9341, allocations: 1.66 MB / 1.394 GB, free: 11.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.9342, allocations: 200.9 kB / 1.394 GB, free: 10.89 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.9353, allocations: 0.8998 MB / 1.395 GB, free: 9.965 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.141e-05/0.9354, allocations: 45.7 kB / 1.395 GB, free: 9.914 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.9358, allocations: 0.5897 MB / 1.395 GB, free: 9.316 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.9361, allocations: 358.9 kB / 1.396 GB, free: 8.961 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.9365, allocations: 214.8 kB / 1.396 GB, free: 8.746 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9366, allocations: 345.9 kB / 1.396 GB, free: 8.402 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/0.9374, allocations: 398.4 kB / 1.397 GB, free: 8.012 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009603/0.9384, allocations: 0.5707 MB / 1.397 GB, free: 7.391 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.9402, allocations: 0.9488 MB / 1.398 GB, free: 6.398 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9402, allocations: 4 kB / 1.398 GB, free: 6.395 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002685/0.9429, allocations: 1.231 MB / 1.399 GB, free: 5.156 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9429, allocations: 11.94 kB / 1.399 GB, free: 5.145 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9429, allocations: 4 kB / 1.399 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.9435, allocations: 89.17 kB / 1.399 GB, free: 5.051 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.9447, allocations: 255.6 kB / 1.4 GB, free: 4.801 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.9468, allocations: 1.648 MB / 1.401 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.9478, allocations: 146.8 kB / 1.401 GB, free: 2.859 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.9479, allocations: 55.84 kB / 1.401 GB, free: 2.805 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.0005288/0.9485, allocations: 344.3 kB / 1.402 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.9487, allocations: 118.6 kB / 1.402 GB, free: 2.344 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.9519, allocations: 1.437 MB / 1.403 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.9519, allocations: 3.984 kB / 1.403 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9519, allocations: 3.984 kB / 1.403 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.9524, allocations: 351.2 kB / 1.404 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.9525, allocations: 27.92 kB / 1.404 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009019/0.9534, allocations: 88.39 kB / 1.404 GB, free: 424 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.9536, allocations: 84.88 kB / 1.404 GB, free: 340 kB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002934/0.9565, allocations: 1.291 MB / 1.405 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00321/0.9598, allocations: 1.934 MB / 1.407 GB, free: 13.08 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008446/0.9606, allocations: 0.5036 MB / 1.407 GB, free: 12.57 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007646/0.9614, allocations: 0.615 MB / 1.408 GB, free: 11.95 MB / 1.139 GB Notification: Performance of Backend: time 5.91e-07/0.9614, allocations: 0 / 1.408 GB, free: 11.95 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004209/0.9656, allocations: 1.704 MB / 1.41 GB, free: 10.47 MB / 1.139 GB Notification: Performance of SimCode: time 0.004224/0.9699, allocations: 2.795 MB / 1.412 GB, free: 7.645 MB / 1.139 GB Notification: Performance of Templates: time 0.04195/1.012, allocations: 27.5 MB / 1.439 GB, free: 12.41 MB / 1.17 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)