Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 168.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008425/0.0008425, allocations: 101.9 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.429e-05/1.421e-05, allocations: 4 kB / 0.8517 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6699/0.67, allocations: 115.3 MB / 0.9644 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.972/5.642, allocations: 2.072 GB / 3.037 GB, free: 43.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/5.642, allocations: 84.42 kB / 3.037 GB, free: 43.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7444/6.387, allocations: 61.83 MB / 3.097 GB, free: 318.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.492e-06/6.387, allocations: 0 / 3.097 GB, free: 318.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001095/6.387, allocations: 39.52 kB / 3.097 GB, free: 318.6 MB / 0.948 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.001902/6.389, allocations: 1.2 MB / 3.098 GB, free: 318 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/6.389, allocations: 8.906 kB / 3.098 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/6.39, allocations: 215.2 kB / 3.099 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/6.391, allocations: 0.7711 MB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/6.391, allocations: 32.94 kB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/6.391, allocations: 52.12 kB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/6.393, allocations: 1.021 MB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/6.394, allocations: 0.7885 MB / 3.101 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/6.394, allocations: 0.6094 kB / 3.101 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/6.394, allocations: 1.344 kB / 3.101 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/6.394, allocations: 23.19 kB / 3.101 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/6.399, allocations: 2.515 MB / 3.104 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/6.4, allocations: 0.6277 MB / 3.104 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/6.4, allocations: 239.7 kB / 3.104 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.648e-05/6.4, allocations: 25.3 kB / 3.104 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/6.401, allocations: 384.9 kB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.296e-06/6.401, allocations: 0 / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001511/6.402, allocations: 0.642 MB / 3.105 GB, free: 316.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/6.402, allocations: 246.9 kB / 3.106 GB, free: 316.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/6.403, allocations: 0.6073 MB / 3.106 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/6.403, allocations: 29.61 kB / 3.106 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/6.404, allocations: 494.6 kB / 3.107 GB, free: 315.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/6.404, allocations: 216.8 kB / 3.107 GB, free: 315.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/6.404, allocations: 2.188 kB / 3.107 GB, free: 315.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/6.404, allocations: 330.3 kB / 3.107 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/6.404, allocations: 180.7 kB / 3.107 GB, free: 315.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/6.405, allocations: 285.2 kB / 3.108 GB, free: 315.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/6.405, allocations: 232.5 kB / 3.108 GB, free: 315.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.405, allocations: 1.312 kB / 3.108 GB, free: 315.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001448/6.406, allocations: 0.6485 MB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/6.406, allocations: 8.844 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/6.406, allocations: 6.625 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/6.407, allocations: 79.16 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/6.408, allocations: 132.4 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/6.409, allocations: 1.462 MB / 3.11 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/6.41, allocations: 60.67 kB / 3.11 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/6.41, allocations: 30.97 kB / 3.11 GB, free: 313.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/6.41, allocations: 121 kB / 3.11 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/6.41, allocations: 89.12 kB / 3.111 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/6.412, allocations: 0.8871 MB / 3.111 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/6.412, allocations: 9.625 kB / 3.111 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/6.412, allocations: 1.25 kB / 3.111 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/6.412, allocations: 4.266 kB / 3.111 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/6.414, allocations: 0.8193 MB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.414, allocations: 0.8125 kB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/6.414, allocations: 143.9 kB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/6.415, allocations: 85.81 kB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/6.415, allocations: 12.81 kB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/6.416, allocations: 1.494 MB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/6.416, allocations: 5.5 kB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/6.418, allocations: 0.7554 MB / 3.115 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/6.418, allocations: 286.1 kB / 3.115 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/6.418, allocations: 4.438 kB / 3.115 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/6.419, allocations: 50.53 kB / 3.115 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/6.419, allocations: 60.81 kB / 3.115 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.049e-05/6.419, allocations: 28.36 kB / 3.115 GB, free: 311.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008759/6.42, allocations: 493.8 kB / 3.116 GB, free: 311.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.42, allocations: 0 / 3.116 GB, free: 311.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001375/6.422, allocations: 323 kB / 3.116 GB, free: 311.8 MB / 0.948 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002276/6.424, allocations: 1.042 MB / 3.117 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001474/6.425, allocations: 0.6211 MB / 3.117 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/6.425, allocations: 3.594 kB / 3.117 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008222/6.426, allocations: 442.6 kB / 3.118 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/6.428, allocations: 354.7 kB / 3.118 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/6.432, allocations: 1.456 MB / 3.12 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/6.433, allocations: 1.096 MB / 3.121 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001146/6.434, allocations: 275 kB / 3.121 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/6.434, allocations: 98.41 kB / 3.121 GB, free: 310.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/6.434, allocations: 1.312 kB / 3.121 GB, free: 310.2 MB / 0.948 GB Notification: Performance of Templates: time 0.0324/6.467, allocations: 16.96 MB / 3.138 GB, free: 308.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)