Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009736/0.0009736, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000937/0.000937, allocations: 191.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.483/1.483, allocations: 292.3 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.45 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1676, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005751/0.1734, allocations: 4.862 MB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4392/0.6126, allocations: 148.2 MB / 0.9324 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.6133, allocations: 23.47 kB / 0.9324 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006709/0.614, allocations: 288.6 kB / 0.9327 GB, free: 5.105 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001086/0.6151, allocations: 386.8 kB / 0.933 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.6165, allocations: 0.7189 MB / 0.9337 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.6174, allocations: 1.331 MB / 0.935 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006944/0.6181, allocations: 0.7305 MB / 0.9357 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.6185, allocations: 485.1 kB / 0.9362 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.619, allocations: 0.4987 MB / 0.9367 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.6191, allocations: 121.8 kB / 0.9368 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.6196, allocations: 388.3 kB / 0.9372 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.6198, allocations: 308.1 kB / 0.9375 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.6201, allocations: 0.5852 MB / 0.9381 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.6214, allocations: 1.637 MB / 0.9397 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6214, allocations: 2.625 kB / 0.9397 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6214, allocations: 1.094 kB / 0.9397 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.6215, allocations: 3.656 kB / 0.9397 GB, free: 4.832 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001895/0.6234, allocations: 1.538 MB / 0.9412 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.6234, allocations: 9.938 kB / 0.9412 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/0.6242, allocations: 209.5 kB / 0.9414 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008983/0.6251, allocations: 0.8472 MB / 0.9422 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.6252, allocations: 68.72 kB / 0.9423 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.6253, allocations: 89.41 kB / 0.9423 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6265, allocations: 0.9575 MB / 0.9433 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.6266, allocations: 7.984 kB / 0.9433 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.6266, allocations: 38.38 kB / 0.9433 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.6266, allocations: 23.62 kB / 0.9433 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.6281, allocations: 1.108 MB / 0.9444 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.6311, allocations: 2.662 MB / 0.947 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.6322, allocations: 0.7035 MB / 0.9477 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.6327, allocations: 273.8 kB / 0.948 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.424e-05/0.6327, allocations: 31.75 kB / 0.948 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.6334, allocations: 415.5 kB / 0.9484 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.124e-06/0.6334, allocations: 0.6562 kB / 0.9484 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69): time 0.002491/0.6359, allocations: 1.08 MB / 0.9495 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.636, allocations: 192.9 kB / 0.9496 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/0.6369, allocations: 0.7391 MB / 0.9504 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.6369, allocations: 36.48 kB / 0.9504 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.6372, allocations: 491.1 kB / 0.9509 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.6373, allocations: 230.1 kB / 0.9511 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.6376, allocations: 145.7 kB / 0.9512 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.6377, allocations: 332.5 kB / 0.9515 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.6381, allocations: 236.2 kB / 0.9518 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.6386, allocations: 315.1 kB / 0.9521 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.6395, allocations: 0.5436 MB / 0.9526 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6395, allocations: 2.391 kB / 0.9526 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0015/0.641, allocations: 0.7748 MB / 0.9534 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6411, allocations: 8.562 kB / 0.9534 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6411, allocations: 6.031 kB / 0.9534 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.6416, allocations: 85.61 kB / 0.9535 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.6421, allocations: 138.7 kB / 0.9536 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.6439, allocations: 1.646 MB / 0.9552 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.6444, allocations: 79.53 kB / 0.9553 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.6445, allocations: 31.05 kB / 0.9553 GB, free: 15.61 MB / 0.7481 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.0003063/0.6448, allocations: 280 kB / 0.9556 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.6449, allocations: 91.61 kB / 0.9557 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.6468, allocations: 0.98 MB / 0.9566 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6468, allocations: 7.688 kB / 0.9566 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.6468, allocations: 1.312 kB / 0.9566 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6468, allocations: 11.31 kB / 0.9566 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/0.6476, allocations: 0.9348 MB / 0.9575 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6476, allocations: 1.781 kB / 0.9575 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.6481, allocations: 138.2 kB / 0.9577 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.6485, allocations: 70.7 kB / 0.9577 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.6485, allocations: 21.83 kB / 0.9578 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.6501, allocations: 1.662 MB / 0.9594 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6501, allocations: 3.938 kB / 0.9594 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.6516, allocations: 0.8387 MB / 0.9602 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.6518, allocations: 274.9 kB / 0.9605 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.6519, allocations: 17.62 kB / 0.9605 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.6524, allocations: 54.8 kB / 0.9605 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6525, allocations: 57.44 kB / 0.9606 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.6526, allocations: 37.83 kB / 0.9606 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004939/0.6531, allocations: 0.513 MB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6531, allocations: 1.25 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006408/0.6537, allocations: 289.8 kB / 0.9614 GB, free: 13.21 MB / 0.7481 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.001001/0.6548, allocations: 0.571 MB / 0.962 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.6565, allocations: 0.9164 MB / 0.9629 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6565, allocations: 4.031 kB / 0.9629 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.6572, allocations: 480.6 kB / 0.9633 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6585, allocations: 446.7 kB / 0.9638 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.6617, allocations: 2.37 MB / 0.9661 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.6623, allocations: 1.068 MB / 0.9671 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000745/0.663, allocations: 279.7 kB / 0.9674 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6632, allocations: 103.5 kB / 0.9675 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.6633, allocations: 4 kB / 0.9675 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.01923/0.6825, allocations: 15.44 MB / 0.9826 GB, free: 6.766 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)