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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.437/2.437, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5495, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00711/0.5567, allocations: 5.627 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.7044, allocations: 150.9 MB / 1.17 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.7057, allocations: 27.81 kB / 1.17 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.707, allocations: 361.3 kB / 1.171 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.7094, allocations: 0.5718 MB / 1.171 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.7116, allocations: 0.8601 MB / 1.172 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.7136, allocations: 1.55 MB / 1.174 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.7148, allocations: 0.7713 MB / 1.174 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007443/0.7156, allocations: 0.5254 MB / 1.175 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.7163, allocations: 0.5792 MB / 1.175 GB, free: 80 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.7166, allocations: 132 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.7178, allocations: 471.6 kB / 1.176 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.7182, allocations: 342.8 kB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006857/0.7189, allocations: 0.6644 MB / 1.177 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.7209, allocations: 1.861 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7209, allocations: 7.938 kB / 1.179 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.721, allocations: 0 / 1.179 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.003e-05/0.721, allocations: 0 / 1.179 GB, free: 12.61 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.003003/0.724, allocations: 1.678 MB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.7241, allocations: 8.031 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.7242, allocations: 156.4 kB / 1.181 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.7252, allocations: 219 kB / 1.181 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.7263, allocations: 0.8942 MB / 1.182 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.7264, allocations: 70 kB / 1.182 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.7265, allocations: 96 kB / 1.182 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.728, allocations: 1.035 MB / 1.183 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.728, allocations: 0 / 1.183 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.7281, allocations: 48 kB / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.7282, allocations: 27.94 kB / 1.183 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.7299, allocations: 1.163 MB / 1.184 GB, free: 7.074 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.00387/0.7338, allocations: 3.048 MB / 1.187 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.7352, allocations: 0.7933 MB / 1.188 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.7357, allocations: 302.7 kB / 1.188 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-05/0.7358, allocations: 28.61 kB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/0.7366, allocations: 499 kB / 1.189 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.7366, allocations: 0 / 1.189 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.002932/0.7396, allocations: 1.205 MB / 1.19 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/0.7397, allocations: 192.6 kB / 1.19 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/0.7406, allocations: 0.7969 MB / 1.191 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.7407, allocations: 37.7 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.7411, allocations: 0.5116 MB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.7413, allocations: 256.4 kB / 1.191 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.7415, allocations: 138.5 kB / 1.192 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7416, allocations: 341.9 kB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.7421, allocations: 241.9 kB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.7427, allocations: 354.6 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.7437, allocations: 0.576 MB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7438, allocations: 4 kB / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001817/0.7456, allocations: 0.8211 MB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7456, allocations: 11.94 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.7456, allocations: 0 / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.7462, allocations: 84.81 kB / 1.194 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.7468, allocations: 147.8 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.7488, allocations: 1.646 MB / 1.196 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.7495, allocations: 83.33 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.7496, allocations: 40.02 kB / 1.196 GB, free: 10.5 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.0004226/0.75, allocations: 289.6 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.7502, allocations: 102.9 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.7525, allocations: 1.076 MB / 1.197 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7525, allocations: 11.94 kB / 1.197 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7525, allocations: 7.984 kB / 1.197 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.7526, allocations: 3.984 kB / 1.197 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7537, allocations: 1.01 MB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.7537, allocations: 0 / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.7543, allocations: 147.8 kB / 1.198 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.7547, allocations: 72.78 kB / 1.198 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.7548, allocations: 23.98 kB / 1.198 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.7566, allocations: 1.666 MB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7566, allocations: 8.047 kB / 1.2 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.7585, allocations: 0.9393 MB / 1.201 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.7589, allocations: 295.4 kB / 1.201 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.759, allocations: 16 kB / 1.201 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.7597, allocations: 61.19 kB / 1.201 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7598, allocations: 80.89 kB / 1.201 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.7599, allocations: 35.98 kB / 1.201 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007003/0.7606, allocations: 0.5581 MB / 1.202 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7606, allocations: 0 / 1.202 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007883/0.7614, allocations: 347 kB / 1.202 GB, free: 3.508 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.003399/0.7648, allocations: 1.992 MB / 1.204 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002186/0.767, allocations: 0.9912 MB / 1.205 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.767, allocations: 4 kB / 1.205 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.7679, allocations: 0.5083 MB / 1.206 GB, free: 144 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.7695, allocations: 478.1 kB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.7804, allocations: 7.339 MB / 1.213 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.7811, allocations: 1.102 MB / 1.214 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008721/0.782, allocations: 283.8 kB / 1.215 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.7826, allocations: 467.2 kB / 1.215 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.7826, allocations: 4 kB / 1.215 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/0.834, allocations: 25.49 MB / 1.24 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.64, allocations: 7.875 kB / 1.24 GB, free: 13.08 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)