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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001013/0.001013, allocations: 175.6 kB / 371.8 MB, free: 10.27 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.563/1.563, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 91.75 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 11.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004168/0.2062, allocations: 4.134 MB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5036/0.7099, allocations: 127.5 MB / 1.108 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.711, allocations: 20.84 kB / 1.108 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.7114, allocations: 89.17 kB / 1.108 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.713, allocations: 490.4 kB / 1.109 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.7147, allocations: 0.605 MB / 1.109 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.7162, allocations: 0.9691 MB / 1.11 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007758/0.717, allocations: 0.5727 MB / 1.111 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.7175, allocations: 322.4 kB / 1.111 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.7178, allocations: 333.1 kB / 1.111 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.7179, allocations: 23.16 kB / 1.111 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.7186, allocations: 251.1 kB / 1.112 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.7188, allocations: 180.8 kB / 1.112 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.719, allocations: 215.5 kB / 1.112 GB, free: 17.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.7204, allocations: 1.224 MB / 1.113 GB, free: 17.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.7204, allocations: 4 kB / 1.113 GB, free: 17.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7204, allocations: 0 / 1.113 GB, free: 17.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.7204, allocations: 0 / 1.113 GB, free: 17.52 MB / 0.698 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.001989/0.7224, allocations: 1.314 MB / 1.114 GB, free: 16.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.7225, allocations: 13.73 kB / 1.114 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.7226, allocations: 143.4 kB / 1.115 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.7235, allocations: 224.8 kB / 1.115 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.7248, allocations: 0.8052 MB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.7248, allocations: 68.53 kB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.725, allocations: 95.41 kB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.7265, allocations: 0.9475 MB / 1.117 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.7265, allocations: 0 / 1.117 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.7266, allocations: 42.67 kB / 1.117 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.7266, allocations: 23.22 kB / 1.117 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.7283, allocations: 1.11 MB / 1.118 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.7321, allocations: 2.702 MB / 1.12 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.7333, allocations: 0.7064 MB / 1.121 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/0.7334, allocations: 28.83 kB / 1.121 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006664/0.7341, allocations: 415.1 kB / 1.122 GB, free: 15.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.004e-06/0.7341, allocations: 0 / 1.122 GB, free: 15.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002622/0.7367, allocations: 1.087 MB / 1.123 GB, free: 14.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.7368, allocations: 197.7 kB / 1.123 GB, free: 14.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008957/0.7377, allocations: 0.7293 MB / 1.123 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.7378, allocations: 39.73 kB / 1.124 GB, free: 14.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.7381, allocations: 493.6 kB / 1.124 GB, free: 14.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.7383, allocations: 229.8 kB / 1.124 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.7384, allocations: 10.72 kB / 1.124 GB, free: 14.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7385, allocations: 327.7 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.7389, allocations: 221.3 kB / 1.125 GB, free: 13.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.7393, allocations: 314.8 kB / 1.125 GB, free: 13.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.7398, allocations: 258.1 kB / 1.125 GB, free: 13.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7398, allocations: 1.75 kB / 1.125 GB, free: 13.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001484/0.7413, allocations: 0.7208 MB / 1.126 GB, free: 13.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7413, allocations: 14.28 kB / 1.126 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7413, allocations: 3.953 kB / 1.126 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.7419, allocations: 92.56 kB / 1.126 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.7424, allocations: 131.8 kB / 1.126 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.7444, allocations: 1.549 MB / 1.128 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.745, allocations: 79.16 kB / 1.128 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.7451, allocations: 23.36 kB / 1.128 GB, free: 12.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0005076/0.7456, allocations: 270.5 kB / 1.128 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.7457, allocations: 95 kB / 1.128 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.7479, allocations: 0.9963 MB / 1.129 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.7479, allocations: 6.188 kB / 1.129 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7479, allocations: 0 / 1.129 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.7479, allocations: 7.297 kB / 1.129 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.7489, allocations: 0.934 MB / 1.13 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.749, allocations: 3.219 kB / 1.13 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.7495, allocations: 135.2 kB / 1.13 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.75, allocations: 80.5 kB / 1.13 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.75, allocations: 24.86 kB / 1.13 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.7518, allocations: 1.581 MB / 1.132 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7518, allocations: 0 / 1.132 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.7534, allocations: 0.8482 MB / 1.133 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.7539, allocations: 282.8 kB / 1.133 GB, free: 9.215 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.754, allocations: 19.23 kB / 1.133 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.7545, allocations: 66.91 kB / 1.133 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.7546, allocations: 59.25 kB / 1.133 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.7547, allocations: 37.67 kB / 1.133 GB, free: 9.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007016/0.7554, allocations: 0.5111 MB / 1.134 GB, free: 8.992 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7554, allocations: 0 / 1.134 GB, free: 8.992 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008349/0.7563, allocations: 281.2 kB / 1.134 GB, free: 8.934 MB / 0.698 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 (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.003018/0.7593, allocations: 1.858 MB / 1.136 GB, free: 7.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.7609, allocations: 0.7038 MB / 1.136 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7609, allocations: 5.062 kB / 1.136 GB, free: 7.754 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.7619, allocations: 483.4 kB / 1.137 GB, free: 7.578 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.7635, allocations: 383.8 kB / 1.137 GB, free: 7.453 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.7747, allocations: 5.898 MB / 1.143 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.7754, allocations: 1.099 MB / 1.144 GB, free: 3.574 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001032/0.7765, allocations: 270.2 kB / 1.144 GB, free: 3.438 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.777, allocations: 436.1 kB / 1.145 GB, free: 3.383 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.777, allocations: 0 / 1.145 GB, free: 3.383 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.8279, allocations: 23.08 MB / 1.167 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.8282, allocations: 270.5 kB / 1.168 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.251, allocations: 6.188 kB / 1.168 GB, free: 7.855 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)