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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001863/0.001871, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.002019/0.00202, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.681/2.681, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.88 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009049/1.066, allocations: 5.608 MB / 1.232 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1946/1.261, allocations: 150.9 MB / 1.379 GB, free: 344 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/1.262, allocations: 23.88 kB / 1.379 GB, free: 320 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/1.264, allocations: 361.4 kB / 1.38 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/1.267, allocations: 0.5784 MB / 1.38 GB, free: 15.38 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/1.27, allocations: 0.8795 MB / 1.381 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002631/1.272, allocations: 1.558 MB / 1.382 GB, free: 12.94 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/1.273, allocations: 0.7722 MB / 1.383 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/1.274, allocations: 0.5371 MB / 1.384 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/1.275, allocations: 0.5775 MB / 1.384 GB, free: 11.02 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/1.275, allocations: 128 kB / 1.384 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/1.276, allocations: 0.4957 MB / 1.385 GB, free: 10.4 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/1.277, allocations: 334.8 kB / 1.385 GB, free: 10.07 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006387/1.277, allocations: 0.6566 MB / 1.386 GB, free: 9.41 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/1.28, allocations: 1.929 MB / 1.388 GB, free: 7.477 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.28, allocations: 0 / 1.388 GB, free: 7.477 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/1.28, allocations: 4 kB / 1.388 GB, free: 7.473 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.477e-05/1.28, allocations: 0 / 1.388 GB, free: 7.473 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00279/1.283, allocations: 1.719 MB / 1.389 GB, free: 5.695 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.283, allocations: 8.031 kB / 1.389 GB, free: 5.688 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/1.284, allocations: 223.9 kB / 1.39 GB, free: 5.469 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.285, allocations: 0.9225 MB / 1.391 GB, free: 4.504 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/1.285, allocations: 74 kB / 1.391 GB, free: 4.434 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.285, allocations: 96 kB / 1.391 GB, free: 4.34 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.287, allocations: 1.035 MB / 1.392 GB, free: 3.262 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/1.287, allocations: 0 / 1.392 GB, free: 3.262 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/1.287, allocations: 40 kB / 1.392 GB, free: 3.223 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/1.287, allocations: 24 kB / 1.392 GB, free: 3.199 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/1.289, allocations: 1.167 MB / 1.393 GB, free: 2.035 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.00437/1.294, allocations: 3.014 MB / 1.396 GB, free: 14.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.295, allocations: 0.8002 MB / 1.397 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/1.295, allocations: 298.7 kB / 1.397 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-05/1.296, allocations: 32.61 kB / 1.397 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008306/1.296, allocations: 492.7 kB / 1.397 GB, free: 13.27 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/1.296, allocations: 0 / 1.397 GB, free: 13.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003194/1.3, allocations: 1.21 MB / 1.399 GB, free: 12.03 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.3, allocations: 192.6 kB / 1.399 GB, free: 11.8 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/1.301, allocations: 0.7913 MB / 1.4 GB, free: 10.98 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/1.301, allocations: 45.7 kB / 1.4 GB, free: 10.93 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/1.301, allocations: 0.5125 MB / 1.4 GB, free: 10.41 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/1.302, allocations: 261.8 kB / 1.4 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.302, allocations: 170.5 kB / 1.401 GB, free: 9.984 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.302, allocations: 341.9 kB / 1.401 GB, free: 9.645 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/1.303, allocations: 261.9 kB / 1.401 GB, free: 9.387 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/1.303, allocations: 363.1 kB / 1.401 GB, free: 9.02 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.304, allocations: 0.5994 MB / 1.402 GB, free: 8.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.304, allocations: 4 kB / 1.402 GB, free: 8.406 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001958/1.306, allocations: 0.8647 MB / 1.403 GB, free: 7.527 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.306, allocations: 8 kB / 1.403 GB, free: 7.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.306, allocations: 0 / 1.403 GB, free: 7.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/1.307, allocations: 88.81 kB / 1.403 GB, free: 7.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/1.308, allocations: 167.7 kB / 1.403 GB, free: 7.266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.31, allocations: 1.643 MB / 1.405 GB, free: 5.484 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/1.311, allocations: 95.45 kB / 1.405 GB, free: 5.391 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/1.311, allocations: 35.97 kB / 1.405 GB, free: 5.355 MB / 1.123 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.0006669/1.312, allocations: 299.9 kB / 1.405 GB, free: 5.055 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.312, allocations: 103.3 kB / 1.405 GB, free: 4.953 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/1.314, allocations: 1.074 MB / 1.406 GB, free: 3.867 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.314, allocations: 7.984 kB / 1.406 GB, free: 3.859 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.314, allocations: 3.938 kB / 1.406 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/1.315, allocations: 304 kB / 1.407 GB, free: 3.539 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.315, allocations: 16 kB / 1.407 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/1.315, allocations: 67.94 kB / 1.407 GB, free: 3.457 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.315, allocations: 68.89 kB / 1.407 GB, free: 3.391 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001952/1.317, allocations: 0.9397 MB / 1.408 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002157/1.32, allocations: 1.427 MB / 1.409 GB, free: 1 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005747/1.32, allocations: 359.8 kB / 1.409 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007134/1.321, allocations: 0.5542 MB / 1.41 GB, free: 84 kB / 1.123 GB Notification: Performance of Backend: time 9.02e-07/1.321, allocations: 4 kB / 1.41 GB, free: 80 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003421/1.324, allocations: 1.263 MB / 1.411 GB, free: 15.03 MB / 1.139 GB Notification: Performance of SimCode: time 0.003835/1.328, allocations: 2.515 MB / 1.414 GB, free: 12.48 MB / 1.139 GB Notification: Performance of Templates: time 0.03046/1.359, allocations: 18.71 MB / 1.432 GB, free: 9.93 MB / 1.154 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)