Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",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.004744/0.004744, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001353/0.001353, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.376/2.376, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.607/0.6087, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.172/0.7807, allocations: 176.5 MB / 1.393 GB, free: 0.832 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.7938, allocations: 10.9 MB / 1.403 GB, free: 5.895 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.7944, allocations: 31.81 kB / 1.403 GB, free: 5.863 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.7953, allocations: 420.7 kB / 1.404 GB, free: 5.449 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.7976, allocations: 1.083 MB / 1.405 GB, free: 4.363 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.8009, allocations: 1.713 MB / 1.406 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.803, allocations: 2.388 MB / 1.409 GB, free: 264 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.8046, allocations: 1.402 MB / 1.41 GB, free: 14.81 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.8071, allocations: 1.271 MB / 1.411 GB, free: 13.56 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000857/0.8079, allocations: 0.8052 MB / 1.412 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.8081, allocations: 156 kB / 1.412 GB, free: 12.6 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.8103, allocations: 1.412 MB / 1.414 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.8107, allocations: 450.6 kB / 1.414 GB, free: 10.74 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.8113, allocations: 0.7891 MB / 1.415 GB, free: 9.949 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.8142, allocations: 2.6 MB / 1.417 GB, free: 7.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.8142, allocations: 0 / 1.417 GB, free: 7.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8142, allocations: 4 kB / 1.417 GB, free: 7.336 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.8142, allocations: 0 / 1.417 GB, free: 7.336 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002802/0.817, allocations: 1.936 MB / 1.419 GB, free: 5.336 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.817, allocations: 12.03 kB / 1.419 GB, free: 5.324 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.8172, allocations: 177.4 kB / 1.419 GB, free: 5.141 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.8191, allocations: 354.7 kB / 1.42 GB, free: 4.793 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.8205, allocations: 1 MB / 1.421 GB, free: 3.75 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.8206, allocations: 94.33 kB / 1.421 GB, free: 3.656 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.8208, allocations: 115.9 kB / 1.421 GB, free: 3.543 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.8228, allocations: 1.298 MB / 1.422 GB, free: 2.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.8228, allocations: 0 / 1.422 GB, free: 2.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.8229, allocations: 52 kB / 1.422 GB, free: 2.129 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.823, allocations: 28 kB / 1.422 GB, free: 2.102 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.8252, allocations: 1.453 MB / 1.424 GB, free: 0.6406 MB / 1.139 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.005262/0.8305, allocations: 4.047 MB / 1.428 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.8325, allocations: 1.218 MB / 1.429 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.8333, allocations: 451.1 kB / 1.429 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.834, allocations: 429.5 kB / 1.43 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.835, allocations: 0.6606 MB / 1.43 GB, free: 9.535 MB / 1.154 GB Notification: Performance of pre-optimization done (n=106): time 2.455e-06/0.835, allocations: 0 / 1.43 GB, free: 9.535 MB / 1.154 GB Notification: Performance of matching and sorting (n=106): time 0.003654/0.8387, allocations: 1.61 MB / 1.432 GB, free: 7.898 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8388, allocations: 192.9 kB / 1.432 GB, free: 7.664 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.8399, allocations: 0.8789 MB / 1.433 GB, free: 6.762 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.84, allocations: 53.69 kB / 1.433 GB, free: 6.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.8404, allocations: 0.5324 MB / 1.434 GB, free: 6.164 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.8407, allocations: 364.9 kB / 1.434 GB, free: 5.805 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.8409, allocations: 190.6 kB / 1.434 GB, free: 5.613 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8411, allocations: 345.9 kB / 1.434 GB, free: 5.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.8418, allocations: 357.8 kB / 1.435 GB, free: 4.922 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.8426, allocations: 0.5049 MB / 1.435 GB, free: 4.379 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.8441, allocations: 0.8407 MB / 1.436 GB, free: 3.523 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8441, allocations: 0 / 1.436 GB, free: 3.523 MB / 1.154 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002317/0.8464, allocations: 1.126 MB / 1.437 GB, free: 2.387 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8465, allocations: 4 kB / 1.437 GB, free: 2.383 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8465, allocations: 4 kB / 1.437 GB, free: 2.379 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.847, allocations: 80.88 kB / 1.437 GB, free: 2.297 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.8479, allocations: 227.6 kB / 1.437 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.8499, allocations: 1.65 MB / 1.439 GB, free: 288 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.8506, allocations: 123.2 kB / 1.439 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/0.8507, allocations: 43.97 kB / 1.439 GB, free: 120 kB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * 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.0004449/0.8511, allocations: 329.5 kB / 1.44 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.8513, allocations: 127.2 kB / 1.44 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.8542, allocations: 1.497 MB / 1.441 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.8543, allocations: 15.94 kB / 1.441 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.8543, allocations: 0 / 1.441 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.8543, allocations: 11.91 kB / 1.441 GB, free: 14.11 MB / 1.17 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 postOpt removeSimpleEquations (simulation): time 0.004336/0.8586, allocations: 2.844 MB / 1.444 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8586, allocations: 0 / 1.444 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/0.8595, allocations: 203.7 kB / 1.444 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004104/0.8599, allocations: 68.98 kB / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.86, allocations: 39.97 kB / 1.444 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.8618, allocations: 1.685 MB / 1.446 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8618, allocations: 0 / 1.446 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.865, allocations: 1.87 MB / 1.448 GB, free: 7.113 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.8654, allocations: 351.9 kB / 1.448 GB, free: 6.75 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.8656, allocations: 24 kB / 1.448 GB, free: 6.727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/0.8664, allocations: 78.17 kB / 1.448 GB, free: 6.652 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.8665, allocations: 88.81 kB / 1.448 GB, free: 6.566 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/0.8666, allocations: 47.97 kB / 1.448 GB, free: 6.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007676/0.8674, allocations: 0.63 MB / 1.449 GB, free: 5.879 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8674, allocations: 0 / 1.449 GB, free: 5.879 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009782/0.8684, allocations: 458.9 kB / 1.449 GB, free: 5.43 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * 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.005292/0.8737, allocations: 3.04 MB / 1.452 GB, free: 2.535 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.8756, allocations: 1.061 MB / 1.453 GB, free: 1.457 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8756, allocations: 320 / 1.453 GB, free: 1.457 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.8768, allocations: 0.6641 MB / 1.454 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.8787, allocations: 0.528 MB / 1.454 GB, free: 280 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.8915, allocations: 8.812 MB / 1.463 GB, free: 7.262 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.8923, allocations: 1.162 MB / 1.464 GB, free: 6.07 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001017/0.8933, allocations: 369.7 kB / 1.465 GB, free: 5.707 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/0.894, allocations: 0.5305 MB / 1.465 GB, free: 5.176 MB / 1.186 GB Notification: Performance of SimCode: time 2.4e-07/0.894, allocations: 0 / 1.465 GB, free: 5.176 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.343/3.237, allocations: 33.14 MB / 1.497 GB, free: 4.453 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.93/26.17, allocations: 19.97 kB / 1.497 GB, free: 4.434 MB / 1.217 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)