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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.00136/0.001361, allocations: 184.8 kB / 366.7 MB, free: 1.645 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.932/1.932, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.001185/0.001186, allocations: 90.22 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.928e-05, allocations: 3.984 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7765, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.638/5.415, allocations: 2.073 GB / 3.047 GB, free: 11.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/5.415, allocations: 91.75 kB / 3.047 GB, free: 11.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7747/6.19, allocations: 61.59 MB / 3.107 GB, free: 329.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/6.19, allocations: 3.938 kB / 3.107 GB, free: 329.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001561/6.19, allocations: 37.66 kB / 3.107 GB, free: 329.8 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.002684/6.193, allocations: 1.206 MB / 3.108 GB, free: 329 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/6.193, allocations: 9.25 kB / 3.108 GB, free: 329 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/6.194, allocations: 217.4 kB / 3.108 GB, free: 328.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/6.196, allocations: 0.7722 MB / 3.109 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/6.196, allocations: 30.88 kB / 3.109 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/6.196, allocations: 51.84 kB / 3.109 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002266/6.198, allocations: 1.013 MB / 3.11 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/6.2, allocations: 0.7917 MB / 3.111 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/6.2, allocations: 0 / 3.111 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/6.2, allocations: 2.125 kB / 3.111 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/6.2, allocations: 26.58 kB / 3.111 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/6.205, allocations: 2.523 MB / 3.113 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/6.206, allocations: 0.6327 MB / 3.114 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/6.206, allocations: 235.6 kB / 3.114 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/6.207, allocations: 34.42 kB / 3.114 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/6.207, allocations: 380.9 kB / 3.115 GB, free: 325.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 2.776e-06/6.207, allocations: 0 / 3.115 GB, free: 325.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001797/6.209, allocations: 0.6358 MB / 3.115 GB, free: 325.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/6.209, allocations: 245.2 kB / 3.115 GB, free: 325.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/6.21, allocations: 0.6053 MB / 3.116 GB, free: 325.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/6.21, allocations: 26.7 kB / 3.116 GB, free: 325.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/6.211, allocations: 497.3 kB / 3.116 GB, free: 324.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/6.211, allocations: 215.4 kB / 3.117 GB, free: 324.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/6.211, allocations: 5.031 kB / 3.117 GB, free: 324.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/6.211, allocations: 336.5 kB / 3.117 GB, free: 324.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/6.211, allocations: 184.8 kB / 3.117 GB, free: 324.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/6.212, allocations: 280.5 kB / 3.117 GB, free: 324 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/6.212, allocations: 237.3 kB / 3.118 GB, free: 323.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/6.212, allocations: 0 / 3.118 GB, free: 323.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001539/6.214, allocations: 0.649 MB / 3.118 GB, free: 323.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/6.214, allocations: 5.188 kB / 3.118 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/6.214, allocations: 1.031 kB / 3.118 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/6.215, allocations: 87.38 kB / 3.118 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/6.215, allocations: 129 kB / 3.119 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/6.217, allocations: 1.461 MB / 3.12 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/6.218, allocations: 64.11 kB / 3.12 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/6.218, allocations: 29.14 kB / 3.12 GB, free: 322.2 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.0001781/6.218, allocations: 122 kB / 3.12 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001533/6.22, allocations: 0.6449 MB / 3.121 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/6.22, allocations: 92.86 kB / 3.121 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/6.222, allocations: 0.8892 MB / 3.122 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/6.222, allocations: 7.125 kB / 3.122 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/6.222, allocations: 1.094 kB / 3.122 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/6.222, allocations: 3.984 kB / 3.122 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/6.223, allocations: 0.8244 MB / 3.123 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/6.223, allocations: 0 / 3.123 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/6.224, allocations: 141.4 kB / 3.123 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/6.224, allocations: 83.92 kB / 3.123 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/6.224, allocations: 15.34 kB / 3.123 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/6.226, allocations: 1.493 MB / 3.124 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/6.226, allocations: 0 / 3.124 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/6.227, allocations: 0.7603 MB / 3.125 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/6.228, allocations: 281.1 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/6.228, allocations: 4 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/6.228, allocations: 56.66 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/6.228, allocations: 54.27 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/6.228, allocations: 32.89 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006204/6.229, allocations: 492.1 kB / 3.126 GB, free: 318.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/6.229, allocations: 0 / 3.126 GB, free: 318.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001243/6.23, allocations: 330.1 kB / 3.126 GB, free: 318 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.003487/6.234, allocations: 2.226 MB / 3.128 GB, free: 316.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001246/6.235, allocations: 0.6285 MB / 3.129 GB, free: 316.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/6.235, allocations: 4 kB / 3.129 GB, free: 316.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006395/6.236, allocations: 434 kB / 3.129 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/6.237, allocations: 367.7 kB / 3.13 GB, free: 316 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/6.242, allocations: 1.66 MB / 3.131 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/6.243, allocations: 1.098 MB / 3.132 GB, free: 314.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009678/6.244, allocations: 271.3 kB / 3.133 GB, free: 314.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/6.244, allocations: 424.6 kB / 3.133 GB, free: 313.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/6.244, allocations: 0 / 3.133 GB, free: 313.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06037/6.305, allocations: 26.03 MB / 3.159 GB, free: 289.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/6.305, allocations: 176.6 kB / 3.159 GB, free: 289.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/9.382, allocations: 0 / 3.159 GB, free: 289.5 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)