Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.88 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5111, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005484/0.5166, allocations: 5.103 MB / 0.9547 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.137/0.6536, allocations: 150.8 MB / 1.102 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.6547, allocations: 31.81 kB / 1.102 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009819/0.6557, allocations: 345.5 kB / 1.102 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.6578, allocations: 0.5153 MB / 1.103 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.66, allocations: 0.8707 MB / 1.104 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.6616, allocations: 1.465 MB / 1.105 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.6626, allocations: 0.8177 MB / 1.106 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.6632, allocations: 0.5254 MB / 1.106 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.6637, allocations: 0.5559 MB / 1.107 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.6639, allocations: 128 kB / 1.107 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.6647, allocations: 479.7 kB / 1.108 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.665, allocations: 334.7 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.6654, allocations: 0.6449 MB / 1.109 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.667, allocations: 1.834 MB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.667, allocations: 0 / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6671, allocations: 4 kB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.6671, allocations: 0 / 1.11 GB, free: 12.77 MB / 0.8731 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.002371/0.6694, allocations: 1.675 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.6695, allocations: 8.031 kB / 1.112 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.6697, allocations: 152.4 kB / 1.112 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.6705, allocations: 223 kB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.6715, allocations: 0.8981 MB / 1.113 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.6716, allocations: 74 kB / 1.113 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6717, allocations: 96 kB / 1.113 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.6731, allocations: 1.024 MB / 1.114 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6732, allocations: 0 / 1.114 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.6732, allocations: 44 kB / 1.114 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6733, allocations: 24 kB / 1.114 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6749, allocations: 1.175 MB / 1.116 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.6785, allocations: 2.839 MB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.6799, allocations: 0.7886 MB / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.6804, allocations: 302.6 kB / 1.119 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.6804, allocations: 36.59 kB / 1.119 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007645/0.6812, allocations: 491.1 kB / 1.12 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 1.824e-06/0.6812, allocations: 4 kB / 1.12 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.002772/0.684, allocations: 1.197 MB / 1.121 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.6841, allocations: 196.6 kB / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.6849, allocations: 0.8007 MB / 1.122 GB, free: 424 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.685, allocations: 41.7 kB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.6853, allocations: 0.5117 MB / 1.123 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6855, allocations: 248.4 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.6857, allocations: 142.5 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.6858, allocations: 337.9 kB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.6862, allocations: 249.9 kB / 1.124 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.6867, allocations: 354.5 kB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.6877, allocations: 0.5761 MB / 1.124 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6877, allocations: 7.938 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001623/0.6893, allocations: 0.8056 MB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6894, allocations: 8 kB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6894, allocations: 0 / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.6899, allocations: 88.8 kB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.6905, allocations: 143.8 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.6925, allocations: 1.656 MB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.6931, allocations: 87.33 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.6931, allocations: 31.92 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0003836/0.6935, allocations: 297.5 kB / 1.127 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6937, allocations: 98.78 kB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.6959, allocations: 1.083 MB / 1.129 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6959, allocations: 15.94 kB / 1.129 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.6959, allocations: 4 kB / 1.129 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.6959, allocations: 3.984 kB / 1.129 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.6969, allocations: 1.013 MB / 1.13 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.697, allocations: 0 / 1.13 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.6975, allocations: 139.8 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004042/0.6979, allocations: 72.78 kB / 1.13 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.6979, allocations: 23.98 kB / 1.13 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.6996, allocations: 1.673 MB / 1.131 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6996, allocations: 4.062 kB / 1.131 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.7013, allocations: 0.9394 MB / 1.132 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.7016, allocations: 295.4 kB / 1.133 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7017, allocations: 19.94 kB / 1.133 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.7023, allocations: 70.11 kB / 1.133 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.7025, allocations: 68.98 kB / 1.133 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/0.7025, allocations: 43.95 kB / 1.133 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006299/0.7032, allocations: 0.5581 MB / 1.133 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7032, allocations: 0 / 1.133 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007214/0.7039, allocations: 323.1 kB / 1.134 GB, free: 3.941 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003121/0.707, allocations: 1.99 MB / 1.136 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.709, allocations: 0.9953 MB / 1.137 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7091, allocations: 0 / 1.137 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.7099, allocations: 0.5119 MB / 1.137 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.7113, allocations: 472.1 kB / 1.138 GB, free: 152 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.7219, allocations: 7.438 MB / 1.145 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.7225, allocations: 1.094 MB / 1.146 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007559/0.7232, allocations: 283.6 kB / 1.146 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.7238, allocations: 479.2 kB / 1.147 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.7238, allocations: 3.938 kB / 1.147 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.7737, allocations: 25.04 MB / 1.171 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.15, allocations: 12 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)