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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009342/0.0009343, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005385/0.005385, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5676, allocations: 142.4 MB / 0.9552 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00451/0.5722, allocations: 4.659 MB / 0.9597 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1462/0.7184, allocations: 146.9 MB / 1.103 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000923/0.7193, allocations: 23.81 kB / 1.103 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.7203, allocations: 290.1 kB / 1.103 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.7223, allocations: 449.7 kB / 1.104 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.7242, allocations: 0.7423 MB / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.7259, allocations: 1.375 MB / 1.106 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.7269, allocations: 0.7819 MB / 1.107 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.7275, allocations: 373.9 kB / 1.107 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004823/0.7279, allocations: 433.3 kB / 1.108 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.728, allocations: 28 kB / 1.108 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.7287, allocations: 371.6 kB / 1.108 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.7289, allocations: 206.9 kB / 1.108 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.7293, allocations: 0.5333 MB / 1.109 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.7308, allocations: 1.732 MB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7308, allocations: 0 / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7308, allocations: 0 / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.7308, allocations: 4 kB / 1.11 GB, free: 15.84 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.002154/0.733, allocations: 1.41 MB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.733, allocations: 16.03 kB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.7332, allocations: 148.4 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/0.7341, allocations: 231 kB / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.7352, allocations: 0.8903 MB / 1.113 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.7352, allocations: 74 kB / 1.113 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.7354, allocations: 95.98 kB / 1.113 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.7369, allocations: 1.032 MB / 1.114 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.737, allocations: 0 / 1.114 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.737, allocations: 44 kB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.7371, allocations: 24 kB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.7388, allocations: 1.182 MB / 1.115 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.7426, allocations: 2.859 MB / 1.118 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.744, allocations: 0.8041 MB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.7445, allocations: 306.7 kB / 1.119 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.7446, allocations: 36.59 kB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007824/0.7454, allocations: 495.1 kB / 1.12 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 1.804e-06/0.7454, allocations: 3.938 kB / 1.12 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.002855/0.7483, allocations: 1.217 MB / 1.121 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.7484, allocations: 200.5 kB / 1.121 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.7493, allocations: 0.7968 MB / 1.122 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.7494, allocations: 41.7 kB / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.7497, allocations: 0.5078 MB / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.7499, allocations: 252.4 kB / 1.123 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.75, allocations: 57.69 kB / 1.123 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7501, allocations: 345.9 kB / 1.123 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.7506, allocations: 245.9 kB / 1.123 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.7511, allocations: 362.5 kB / 1.124 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009858/0.7521, allocations: 0.5877 MB / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7522, allocations: 0 / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001686/0.7538, allocations: 0.8212 MB / 1.125 GB, free: 396 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7539, allocations: 4 kB / 1.125 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7539, allocations: 0 / 1.125 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.7544, allocations: 88.81 kB / 1.125 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.755, allocations: 143.8 kB / 1.125 GB, free: 156 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.7569, allocations: 1.536 MB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.7575, allocations: 107.3 kB / 1.127 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.7575, allocations: 27.98 kB / 1.127 GB, free: 14.34 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.0003616/0.7579, allocations: 293.6 kB / 1.127 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.758, allocations: 102.7 kB / 1.127 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.7602, allocations: 1.087 MB / 1.128 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.7603, allocations: 12 kB / 1.128 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.7603, allocations: 0 / 1.128 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7603, allocations: 3.984 kB / 1.128 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.7613, allocations: 1.013 MB / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7613, allocations: 0 / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.7618, allocations: 139.8 kB / 1.129 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.7623, allocations: 80.78 kB / 1.129 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.7624, allocations: 27.97 kB / 1.13 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.7641, allocations: 1.571 MB / 1.131 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7641, allocations: 3.938 kB / 1.131 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.7659, allocations: 0.9511 MB / 1.132 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.7662, allocations: 315.4 kB / 1.132 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.7664, allocations: 16 kB / 1.132 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.767, allocations: 82.36 kB / 1.132 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7671, allocations: 72.83 kB / 1.132 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/0.7672, allocations: 35.98 kB / 1.132 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006686/0.7679, allocations: 0.562 MB / 1.133 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7679, allocations: 0 / 1.133 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007428/0.7686, allocations: 323.1 kB / 1.133 GB, free: 7.414 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.003289/0.7719, allocations: 2.01 MB / 1.135 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.7734, allocations: 0.7963 MB / 1.136 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7734, allocations: 0 / 1.136 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008523/0.7742, allocations: 0.5235 MB / 1.137 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.7758, allocations: 416.9 kB / 1.137 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.7882, allocations: 7.982 MB / 1.145 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.7889, allocations: 1.098 MB / 1.146 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009503/0.7898, allocations: 283.6 kB / 1.146 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.7905, allocations: 471.2 kB / 1.147 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of SimCode: time 8.21e-07/0.7905, allocations: 0 / 1.147 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/0.8306, allocations: 23.87 MB / 1.17 GB, free: 2.199 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.8308, allocations: 297.5 kB / 1.17 GB, free: 1.816 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.436, allocations: 0 / 1.17 GB, free: 1.816 MB / 0.92 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)