Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_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.007338/0.007338, allocations: 102 kB / 15.73 MB, free: 6.062 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.001949/0.001949, allocations: 192 kB / 16.67 MB, free: 5.973 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.661/2.661, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.47 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2938, allocations: 162.3 MB / 1.242 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007953/0.3018, allocations: 5.626 MB / 1.247 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.4617, allocations: 150.9 MB / 1.395 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.4629, allocations: 27.81 kB / 1.395 GB, free: 11.79 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.4641, allocations: 361.3 kB / 1.395 GB, free: 11.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.466, allocations: 0.5583 MB / 1.396 GB, free: 10.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.4681, allocations: 0.8759 MB / 1.396 GB, free: 10 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.4698, allocations: 1.558 MB / 1.398 GB, free: 8.434 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.4709, allocations: 0.7597 MB / 1.399 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.4715, allocations: 0.5448 MB / 1.399 GB, free: 7.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.4722, allocations: 0.5637 MB / 1.4 GB, free: 6.523 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.4724, allocations: 132 kB / 1.4 GB, free: 6.395 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.4733, allocations: 0.4957 MB / 1.4 GB, free: 5.898 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.4736, allocations: 330.8 kB / 1.401 GB, free: 5.574 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.4743, allocations: 0.6644 MB / 1.401 GB, free: 4.906 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.4765, allocations: 1.922 MB / 1.403 GB, free: 2.977 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4765, allocations: 0 / 1.403 GB, free: 2.977 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4765, allocations: 4 kB / 1.403 GB, free: 2.973 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.4765, allocations: 0 / 1.403 GB, free: 2.973 MB / 1.123 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.002755/0.4793, allocations: 1.723 MB / 1.405 GB, free: 1.191 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4793, allocations: 12.03 kB / 1.405 GB, free: 1.18 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.4795, allocations: 152.4 kB / 1.405 GB, free: 1.023 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.4805, allocations: 227.8 kB / 1.405 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.4818, allocations: 0.9185 MB / 1.406 GB, free: 15.84 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.4819, allocations: 77.98 kB / 1.406 GB, free: 15.77 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.482, allocations: 96 kB / 1.406 GB, free: 15.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.4839, allocations: 1.032 MB / 1.407 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.4839, allocations: 0 / 1.407 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.484, allocations: 40 kB / 1.407 GB, free: 14.56 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.484, allocations: 28 kB / 1.407 GB, free: 14.53 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.486, allocations: 1.178 MB / 1.409 GB, free: 13.35 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.4904, allocations: 3.075 MB / 1.412 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.4919, allocations: 0.8002 MB / 1.412 GB, free: 9.34 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.4925, allocations: 302.7 kB / 1.413 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-05/0.4926, allocations: 28.61 kB / 1.413 GB, free: 9.016 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008555/0.4935, allocations: 488.8 kB / 1.413 GB, free: 8.52 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 2.034e-06/0.4935, allocations: 0 / 1.413 GB, free: 8.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.00308/0.4966, allocations: 1.214 MB / 1.414 GB, free: 7.277 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.4967, allocations: 188.6 kB / 1.415 GB, free: 7.051 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.4977, allocations: 0.8046 MB / 1.415 GB, free: 6.219 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.4978, allocations: 41.7 kB / 1.415 GB, free: 6.172 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.4982, allocations: 0.5164 MB / 1.416 GB, free: 5.648 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.4984, allocations: 265.8 kB / 1.416 GB, free: 5.387 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.4986, allocations: 142.6 kB / 1.416 GB, free: 5.242 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4988, allocations: 337.9 kB / 1.417 GB, free: 4.906 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.4993, allocations: 241.9 kB / 1.417 GB, free: 4.672 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.4999, allocations: 362.5 kB / 1.417 GB, free: 4.289 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.5011, allocations: 0.5799 MB / 1.418 GB, free: 3.699 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5011, allocations: 0 / 1.418 GB, free: 3.699 MB / 1.139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001862/0.503, allocations: 0.8179 MB / 1.419 GB, free: 2.871 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.503, allocations: 9.875 kB / 1.419 GB, free: 2.863 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.503, allocations: 0 / 1.419 GB, free: 2.863 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.5036, allocations: 88.8 kB / 1.419 GB, free: 2.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.5042, allocations: 151.7 kB / 1.419 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.5063, allocations: 1.634 MB / 1.42 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.5069, allocations: 89.72 kB / 1.42 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5071, allocations: 36.03 kB / 1.42 GB, free: 0.7227 MB / 1.139 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.0003911/0.5075, allocations: 289.1 kB / 1.421 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.5077, allocations: 103.3 kB / 1.421 GB, free: 340 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.5101, allocations: 1.083 MB / 1.422 GB, free: 15.24 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5101, allocations: 11.94 kB / 1.422 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5101, allocations: 4 kB / 1.422 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.5101, allocations: 3.984 kB / 1.422 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.5113, allocations: 1.013 MB / 1.423 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5114, allocations: 8 kB / 1.423 GB, free: 14.15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.5119, allocations: 147.7 kB / 1.423 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004513/0.5124, allocations: 68.78 kB / 1.423 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.5125, allocations: 27.97 kB / 1.423 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.5145, allocations: 1.666 MB / 1.425 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5145, allocations: 4 kB / 1.425 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.5166, allocations: 0.9516 MB / 1.426 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.517, allocations: 300 kB / 1.426 GB, free: 10.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.5171, allocations: 16 kB / 1.426 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/0.5177, allocations: 59.94 kB / 1.426 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5179, allocations: 72.83 kB / 1.426 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.518, allocations: 35.98 kB / 1.426 GB, free: 10.62 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007702/0.5187, allocations: 0.562 MB / 1.427 GB, free: 10.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5187, allocations: 0 / 1.427 GB, free: 10.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007765/0.5195, allocations: 347 kB / 1.427 GB, free: 9.711 MB / 1.154 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.004129/0.5237, allocations: 2.001 MB / 1.429 GB, free: 7.855 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.5253, allocations: 0.7883 MB / 1.43 GB, free: 7.059 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5253, allocations: 3.938 kB / 1.43 GB, free: 7.055 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000963/0.5263, allocations: 0.5238 MB / 1.43 GB, free: 6.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.528, allocations: 466.3 kB / 1.431 GB, free: 6.098 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5393, allocations: 6.998 MB / 1.438 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.5401, allocations: 1.102 MB / 1.439 GB, free: 13.82 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008223/0.541, allocations: 279.7 kB / 1.439 GB, free: 13.54 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/0.5416, allocations: 463.2 kB / 1.439 GB, free: 13.09 MB / 1.17 GB Notification: Performance of SimCode: time 3.5e-07/0.5416, allocations: 0 / 1.439 GB, free: 13.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4872/1.029, allocations: 25.81 MB / 1.465 GB, free: 3.582 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.77, allocations: 3.844 kB / 1.465 GB, free: 3.582 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)