Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_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.001239/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001575/0.001575, allocations: 195.2 kB / 16.25 MB, free: 6.621 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7101 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 75.88 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5999, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006522/0.6065, allocations: 5.613 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1318/0.7383, allocations: 148.6 MB / 1.168 GB, free: 7.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.7392, allocations: 23.81 kB / 1.168 GB, free: 7.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.7402, allocations: 322 kB / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.742, allocations: 498.7 kB / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.7438, allocations: 0.7775 MB / 1.169 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.7455, allocations: 1.554 MB / 1.171 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.7465, allocations: 0.7713 MB / 1.171 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.7472, allocations: 0.5332 MB / 1.172 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.7478, allocations: 0.5714 MB / 1.172 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.7481, allocations: 132 kB / 1.173 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.7488, allocations: 475.7 kB / 1.173 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.7491, allocations: 342.8 kB / 1.173 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.7497, allocations: 0.6605 MB / 1.174 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.7515, allocations: 1.865 MB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7515, allocations: 0 / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7515, allocations: 3.938 kB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.7515, allocations: 0 / 1.176 GB, free: 15.31 MB / 0.9356 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.002339/0.7539, allocations: 1.678 MB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7539, allocations: 12.03 kB / 1.178 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.7541, allocations: 152.4 kB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.7549, allocations: 219 kB / 1.178 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/0.7559, allocations: 0.8903 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.756, allocations: 81.98 kB / 1.179 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.7561, allocations: 96 kB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.7576, allocations: 1.032 MB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.7576, allocations: 3.938 kB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.7577, allocations: 44 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.7577, allocations: 24 kB / 1.18 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.7593, allocations: 1.171 MB / 1.181 GB, free: 9.766 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.7628, allocations: 3.04 MB / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.7641, allocations: 0.7933 MB / 1.185 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.7645, allocations: 298.7 kB / 1.185 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.525e-05/0.7646, allocations: 32.61 kB / 1.185 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.7654, allocations: 495 kB / 1.186 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 1.923e-06/0.7654, allocations: 0 / 1.186 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.002758/0.7682, allocations: 1.205 MB / 1.187 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.7683, allocations: 192.6 kB / 1.187 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.7691, allocations: 0.8007 MB / 1.188 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.7691, allocations: 37.7 kB / 1.188 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.7695, allocations: 0.5117 MB / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.7696, allocations: 252.4 kB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.7698, allocations: 146.5 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.7699, allocations: 337.8 kB / 1.189 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.7704, allocations: 241.9 kB / 1.189 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.7709, allocations: 362.6 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.7718, allocations: 0.576 MB / 1.19 GB, free: 192 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7718, allocations: 3.938 kB / 1.19 GB, free: 188 kB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001663/0.7735, allocations: 0.8172 MB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7735, allocations: 8 kB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7735, allocations: 0 / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.7741, allocations: 88.8 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/0.7746, allocations: 147.8 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.7765, allocations: 1.651 MB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.777, allocations: 93.36 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.7771, allocations: 27.98 kB / 1.193 GB, free: 13.21 MB / 0.9512 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.0003321/0.7774, allocations: 294.1 kB / 1.193 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.7776, allocations: 102.7 kB / 1.193 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.7797, allocations: 1.072 MB / 1.194 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.7797, allocations: 11.94 kB / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7798, allocations: 4 kB / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.7798, allocations: 3.984 kB / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.7807, allocations: 1.025 MB / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7807, allocations: 0 / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.7812, allocations: 139.8 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.7817, allocations: 72.78 kB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.7817, allocations: 23.98 kB / 1.196 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.7834, allocations: 1.666 MB / 1.197 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7834, allocations: 0 / 1.197 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.7851, allocations: 0.9433 MB / 1.198 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.7854, allocations: 287.5 kB / 1.198 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.7855, allocations: 20 kB / 1.198 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.7861, allocations: 67.92 kB / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7862, allocations: 72.84 kB / 1.199 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.7863, allocations: 31.97 kB / 1.199 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005749/0.7869, allocations: 0.5659 MB / 1.199 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7869, allocations: 0 / 1.199 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006497/0.7875, allocations: 346.8 kB / 1.199 GB, free: 6.211 MB / 0.9512 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.00302/0.7906, allocations: 1.999 MB / 1.201 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.7925, allocations: 0.9876 MB / 1.202 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7925, allocations: 0 / 1.202 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.7933, allocations: 0.508 MB / 1.203 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.7947, allocations: 483.7 kB / 1.203 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.8056, allocations: 7.804 MB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.8061, allocations: 1.098 MB / 1.212 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007406/0.8069, allocations: 287.7 kB / 1.212 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.8074, allocations: 467.2 kB / 1.213 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.8074, allocations: 0 / 1.213 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.936/1.743, allocations: 25.28 MB / 1.237 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/1.744, allocations: 293.6 kB / 1.238 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/4.579, allocations: 0 / 1.238 GB, free: 15.18 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)