Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001501/0.001501, allocations: 109.9 kB / 16.42 MB, free: 6.52 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.001657/0.001657, allocations: 190.7 kB / 17.34 MB, free: 5.738 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9386/0.9401, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.0074/0.9476, allocations: 5.635 MB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1878/1.135, allocations: 150.9 MB / 1.32 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/1.137, allocations: 23.81 kB / 1.32 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.139, allocations: 365.3 kB / 1.321 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/1.142, allocations: 0.5665 MB / 1.321 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/1.145, allocations: 0.8769 MB / 1.322 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002535/1.147, allocations: 1.562 MB / 1.323 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.149, allocations: 0.7631 MB / 1.324 GB, free: 2.484 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/1.15, allocations: 0.5409 MB / 1.325 GB, free: 1.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/1.151, allocations: 0.5676 MB / 1.325 GB, free: 1.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004069/1.151, allocations: 132 kB / 1.325 GB, free: 1.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/1.153, allocations: 0.4957 MB / 1.326 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/1.153, allocations: 334.8 kB / 1.326 GB, free: 428 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009652/1.154, allocations: 0.6645 MB / 1.327 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/1.157, allocations: 1.927 MB / 1.329 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.157, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/1.157, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.69e-05/1.157, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.061 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.00313/1.16, allocations: 1.723 MB / 1.33 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/1.16, allocations: 8.922 kB / 1.33 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/1.161, allocations: 231.8 kB / 1.331 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.163, allocations: 0.9147 MB / 1.332 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/1.163, allocations: 74 kB / 1.332 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.163, allocations: 99.98 kB / 1.332 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/1.165, allocations: 1.028 MB / 1.333 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.165, allocations: 0 / 1.333 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/1.165, allocations: 44 kB / 1.333 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/1.165, allocations: 24 kB / 1.333 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.167, allocations: 1.167 MB / 1.334 GB, free: 8.371 MB / 1.061 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.004498/1.171, allocations: 3.013 MB / 1.337 GB, free: 5.238 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/1.173, allocations: 0.8041 MB / 1.338 GB, free: 4.426 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/1.173, allocations: 302.6 kB / 1.338 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/1.174, allocations: 32.59 kB / 1.338 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/1.174, allocations: 492.8 kB / 1.338 GB, free: 3.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/1.174, allocations: 0 / 1.338 GB, free: 3.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=78): time 0.003201/1.178, allocations: 1.217 MB / 1.34 GB, free: 2.352 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.178, allocations: 188.6 kB / 1.34 GB, free: 2.125 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.179, allocations: 0.7952 MB / 1.341 GB, free: 1.305 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/1.179, allocations: 41.7 kB / 1.341 GB, free: 1.258 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/1.179, allocations: 0.5203 MB / 1.341 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/1.18, allocations: 257.8 kB / 1.341 GB, free: 488 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.18, allocations: 166.5 kB / 1.342 GB, free: 316 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.18, allocations: 337.9 kB / 1.342 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/1.18, allocations: 265.8 kB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/1.181, allocations: 363.1 kB / 1.342 GB, free: 15.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.182, allocations: 0.6033 MB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/1.182, allocations: 0 / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001925/1.184, allocations: 0.8686 MB / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.184, allocations: 4 kB / 1.344 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.184, allocations: 4 kB / 1.344 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/1.185, allocations: 84.86 kB / 1.344 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/1.185, allocations: 155.7 kB / 1.344 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.188, allocations: 1.646 MB / 1.346 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000825/1.188, allocations: 99.44 kB / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/1.189, allocations: 31.97 kB / 1.346 GB, free: 11.68 MB / 1.076 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.0006003/1.189, allocations: 299.4 kB / 1.346 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/1.189, allocations: 107.3 kB / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/1.192, allocations: 1.074 MB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.192, allocations: 3.984 kB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.192, allocations: 0 / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/1.192, allocations: 296 kB / 1.348 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/1.193, allocations: 27.92 kB / 1.348 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/1.193, allocations: 59.94 kB / 1.348 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.193, allocations: 68.89 kB / 1.348 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002124/1.196, allocations: 0.9513 MB / 1.349 GB, free: 8.766 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002368/1.198, allocations: 1.427 MB / 1.35 GB, free: 7.324 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006188/1.199, allocations: 351.8 kB / 1.35 GB, free: 6.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008932/1.2, allocations: 0.5542 MB / 1.351 GB, free: 6.414 MB / 1.076 GB Notification: Performance of Backend: time 9.42e-07/1.2, allocations: 0 / 1.351 GB, free: 6.414 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003789/1.203, allocations: 1.276 MB / 1.352 GB, free: 5.328 MB / 1.076 GB Notification: Performance of SimCode: time 0.004806/1.208, allocations: 2.526 MB / 1.355 GB, free: 2.773 MB / 1.076 GB Notification: Performance of Templates: time 0.03553/1.244, allocations: 18.7 MB / 1.373 GB, free: 200 kB / 1.092 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)