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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.015/2.015, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 187.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 110.4 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 48.92 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2327, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00481/0.2376, allocations: 4.863 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1215/0.3591, allocations: 148.4 MB / 1.368 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.3601, allocations: 23.88 kB / 1.368 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009794/0.3611, allocations: 278.2 kB / 1.368 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3628, allocations: 413.8 kB / 1.368 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.3648, allocations: 0.7079 MB / 1.369 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3664, allocations: 1.27 MB / 1.37 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.3676, allocations: 0.7935 MB / 1.371 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.3683, allocations: 422 kB / 1.372 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/0.3691, allocations: 481.4 kB / 1.372 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.3693, allocations: 60 kB / 1.372 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.3704, allocations: 407.6 kB / 1.372 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.3707, allocations: 254.9 kB / 1.373 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.3713, allocations: 0.5279 MB / 1.373 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.3732, allocations: 1.663 MB / 1.375 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3733, allocations: 3.938 kB / 1.375 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3733, allocations: 0 / 1.375 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.979e-05/0.3733, allocations: 0 / 1.375 GB, free: 4.047 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002859/0.3762, allocations: 1.567 MB / 1.376 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3762, allocations: 11.98 kB / 1.376 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009479/0.3772, allocations: 211.1 kB / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.3785, allocations: 0.8517 MB / 1.377 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.3786, allocations: 70 kB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.3787, allocations: 92 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.3803, allocations: 0.973 MB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3803, allocations: 3.984 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.3804, allocations: 40 kB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3804, allocations: 24 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.3821, allocations: 1.12 MB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.3863, allocations: 2.682 MB / 1.382 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.3875, allocations: 0.7151 MB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.3879, allocations: 270.4 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.388, allocations: 28.59 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007461/0.3888, allocations: 421.7 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 2.976e-06/0.3888, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69): time 0.002708/0.3915, allocations: 1.074 MB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/0.3916, allocations: 192.4 kB / 1.385 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.3925, allocations: 0.7552 MB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.3926, allocations: 41.7 kB / 1.386 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.393, allocations: 499.9 kB / 1.386 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.3931, allocations: 228.7 kB / 1.386 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.3933, allocations: 146.2 kB / 1.387 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3935, allocations: 334 kB / 1.387 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.3939, allocations: 229.2 kB / 1.387 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.3944, allocations: 323.3 kB / 1.387 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.3954, allocations: 0.5428 MB / 1.388 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.3954, allocations: 3.938 kB / 1.388 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001683/0.3971, allocations: 0.7781 MB / 1.389 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3971, allocations: 12.56 kB / 1.389 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3971, allocations: 0 / 1.389 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.3977, allocations: 84.8 kB / 1.389 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.3982, allocations: 135.8 kB / 1.389 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.4001, allocations: 1.53 MB / 1.39 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.4007, allocations: 83.39 kB / 1.39 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.4008, allocations: 35.91 kB / 1.391 GB, free: 3.496 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004135/0.4012, allocations: 274.3 kB / 1.391 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.4014, allocations: 90.88 kB / 1.391 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.4034, allocations: 0.984 MB / 1.392 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4035, allocations: 8 kB / 1.392 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.4035, allocations: 96 / 1.392 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4035, allocations: 11.97 kB / 1.392 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.4045, allocations: 0.9309 MB / 1.393 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4045, allocations: 0 / 1.393 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.405, allocations: 131.8 kB / 1.393 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/0.4055, allocations: 88.77 kB / 1.393 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.4056, allocations: 19.98 kB / 1.393 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.4073, allocations: 1.552 MB / 1.395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4073, allocations: 0 / 1.395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.41, allocations: 1.894 MB / 1.396 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.4103, allocations: 267.6 kB / 1.397 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4104, allocations: 16 kB / 1.397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.4109, allocations: 57.19 kB / 1.397 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4111, allocations: 56.92 kB / 1.397 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.4111, allocations: 28.05 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000621/0.4118, allocations: 0.5263 MB / 1.397 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4118, allocations: 0 / 1.397 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008583/0.4126, allocations: 315 kB / 1.398 GB, free: 11.96 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.4139, allocations: 0.6026 MB / 1.398 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.4153, allocations: 0.7394 MB / 1.399 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4153, allocations: 0 / 1.399 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008033/0.4162, allocations: 488.4 kB / 1.399 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.4176, allocations: 416 kB / 1.4 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.4219, allocations: 2.81 MB / 1.402 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.4226, allocations: 1.099 MB / 1.404 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000796/0.4234, allocations: 275 kB / 1.404 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.4237, allocations: 103.4 kB / 1.404 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of SimCode: time 2.71e-07/0.4237, allocations: 0 / 1.404 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of Templates: time 0.02461/0.4483, allocations: 15.66 MB / 1.419 GB, free: 6.012 MB / 0.9167 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)