Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 117.7 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.00172/0.00172, allocations: 190.7 kB / 17.35 MB, free: 5.625 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.389/1.389, 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.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 60.11 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9724/0.9739, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007067/0.981, allocations: 5.623 MB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1619/1.143, allocations: 150.9 MB / 1.361 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/1.144, allocations: 23.81 kB / 1.361 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/1.145, allocations: 357.3 kB / 1.362 GB, free: 180 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/1.148, allocations: 0.5724 MB / 1.362 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/1.15, allocations: 0.8757 MB / 1.363 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001977/1.152, allocations: 1.566 MB / 1.365 GB, free: 13.16 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/1.153, allocations: 0.7596 MB / 1.365 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008373/1.154, allocations: 0.5409 MB / 1.366 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008103/1.155, allocations: 0.5637 MB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000322/1.155, allocations: 136 kB / 1.366 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/1.157, allocations: 0.4917 MB / 1.367 GB, free: 10.63 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/1.157, allocations: 334.8 kB / 1.367 GB, free: 10.3 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007091/1.158, allocations: 0.6567 MB / 1.368 GB, free: 9.645 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/1.16, allocations: 1.913 MB / 1.37 GB, free: 7.727 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.16, allocations: 0 / 1.37 GB, free: 7.727 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.232e-06/1.16, allocations: 4 kB / 1.37 GB, free: 7.723 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.212e-05/1.16, allocations: 3.938 kB / 1.37 GB, free: 7.719 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003555/1.164, allocations: 1.682 MB / 1.371 GB, free: 5.988 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.164, allocations: 12.03 kB / 1.371 GB, free: 5.977 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.165, allocations: 215 kB / 1.372 GB, free: 5.766 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.166, allocations: 0.9062 MB / 1.373 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/1.167, allocations: 82 kB / 1.373 GB, free: 4.734 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.167, allocations: 95.98 kB / 1.373 GB, free: 4.641 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/1.169, allocations: 1.032 MB / 1.374 GB, free: 3.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.169, allocations: 4 kB / 1.374 GB, free: 3.566 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/1.169, allocations: 44 kB / 1.374 GB, free: 3.523 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/1.169, allocations: 24 kB / 1.374 GB, free: 3.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.171, allocations: 1.167 MB / 1.375 GB, free: 2.332 MB / 1.092 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.004596/1.175, allocations: 3.001 MB / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/1.177, allocations: 0.7963 MB / 1.379 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/1.177, allocations: 302.6 kB / 1.379 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/1.177, allocations: 28.61 kB / 1.379 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/1.178, allocations: 0.4912 MB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 3.387e-06/1.178, allocations: 4 kB / 1.379 GB, free: 13.56 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.003172/1.181, allocations: 1.197 MB / 1.381 GB, free: 12.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.181, allocations: 192.6 kB / 1.381 GB, free: 12.11 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.183, allocations: 0.7989 MB / 1.382 GB, free: 11.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/1.183, allocations: 45.7 kB / 1.382 GB, free: 11.23 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/1.183, allocations: 0.5 MB / 1.382 GB, free: 10.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.183, allocations: 256.4 kB / 1.382 GB, free: 10.47 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/1.184, allocations: 162.5 kB / 1.383 GB, free: 10.31 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.184, allocations: 333.9 kB / 1.383 GB, free: 9.977 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/1.184, allocations: 269.9 kB / 1.383 GB, free: 9.711 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/1.185, allocations: 355.1 kB / 1.383 GB, free: 9.352 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.186, allocations: 0.6073 MB / 1.384 GB, free: 8.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.186, allocations: 0 / 1.384 GB, free: 8.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001988/1.188, allocations: 0.8641 MB / 1.385 GB, free: 7.855 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.188, allocations: 6.188 kB / 1.385 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.188, allocations: 0 / 1.385 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/1.189, allocations: 88.84 kB / 1.385 GB, free: 7.762 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/1.189, allocations: 159.7 kB / 1.385 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.191, allocations: 1.646 MB / 1.387 GB, free: 5.812 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007811/1.192, allocations: 91.42 kB / 1.387 GB, free: 5.723 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/1.192, allocations: 35.97 kB / 1.387 GB, free: 5.688 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0005226/1.193, allocations: 291.6 kB / 1.387 GB, free: 5.395 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/1.193, allocations: 106.7 kB / 1.387 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/1.195, allocations: 1.078 MB / 1.388 GB, free: 4.203 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.195, allocations: 3.984 kB / 1.388 GB, free: 4.199 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.195, allocations: 4 kB / 1.388 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/1.196, allocations: 291.4 kB / 1.389 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/1.196, allocations: 16 kB / 1.389 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/1.197, allocations: 66.59 kB / 1.389 GB, free: 3.812 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.197, allocations: 72.84 kB / 1.389 GB, free: 3.738 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001901/1.199, allocations: 0.9474 MB / 1.39 GB, free: 2.785 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002119/1.201, allocations: 1.422 MB / 1.391 GB, free: 1.344 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005387/1.201, allocations: 351.8 kB / 1.391 GB, free: 1.004 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007021/1.202, allocations: 0.5542 MB / 1.392 GB, free: 448 kB / 1.107 GB Notification: Performance of Backend: time 3.81e-07/1.202, allocations: 0 / 1.392 GB, free: 448 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003282/1.205, allocations: 1.26 MB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of SimCode: time 0.003721/1.209, allocations: 2.501 MB / 1.396 GB, free: 12.87 MB / 1.123 GB Notification: Performance of Templates: time 0.03268/1.242, allocations: 19.04 MB / 1.414 GB, free: 9.98 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)