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.001557/0.001557, 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.001507/0.001507, allocations: 195.8 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7424 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 67.98 kB / 0.9086 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2425, allocations: 159.2 MB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1754/0.4179, allocations: 176.5 MB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.4317, allocations: 10.9 MB / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008616/0.4326, allocations: 31.81 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.4336, allocations: 416.7 kB / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.4363, allocations: 1.087 MB / 1.249 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4239/0.8602, allocations: 1.705 MB / 1.25 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.8625, allocations: 2.367 MB / 1.253 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.8638, allocations: 1.403 MB / 1.254 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.8662, allocations: 1.253 MB / 1.255 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.8669, allocations: 0.8039 MB / 1.256 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.867, allocations: 155.2 kB / 1.256 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.8689, allocations: 1.388 MB / 1.257 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.8692, allocations: 455.7 kB / 1.258 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.8697, allocations: 0.7857 MB / 1.259 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.872, allocations: 2.533 MB / 1.261 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.872, allocations: 0.875 kB / 1.261 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.872, allocations: 3.188 kB / 1.261 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.872, allocations: 2.188 kB / 1.261 GB, free: 5.285 MB / 0.9981 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.002592/0.8746, allocations: 1.891 MB / 1.263 GB, free: 20.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.8747, allocations: 7.875 kB / 1.263 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.8748, allocations: 183 kB / 1.263 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.8767, allocations: 350.5 kB / 1.264 GB, free: 20.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.8778, allocations: 0.9477 MB / 1.264 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.8779, allocations: 90.39 kB / 1.265 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.878, allocations: 114 kB / 1.265 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.8798, allocations: 1.298 MB / 1.266 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.8798, allocations: 5.859 kB / 1.266 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.8799, allocations: 52.23 kB / 1.266 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.88, allocations: 31.52 kB / 1.266 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.8822, allocations: 1.451 MB / 1.267 GB, free: 19.67 MB / 1.014 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.005267/0.8875, allocations: 4.074 MB / 1.271 GB, free: 18.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.8895, allocations: 1.215 MB / 1.273 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/0.8903, allocations: 450.7 kB / 1.273 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.8911, allocations: 428.9 kB / 1.273 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.8922, allocations: 0.6553 MB / 1.274 GB, free: 17.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.134e-06/0.8922, allocations: 0 / 1.274 GB, free: 17.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.003516/0.8957, allocations: 1.61 MB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8958, allocations: 197.4 kB / 1.276 GB, free: 17.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00096/0.8968, allocations: 0.8815 MB / 1.277 GB, free: 17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.8969, allocations: 48.36 kB / 1.277 GB, free: 16.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.8972, allocations: 0.5193 MB / 1.277 GB, free: 16.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.8974, allocations: 351.1 kB / 1.278 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.8977, allocations: 193 kB / 1.278 GB, free: 16.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8978, allocations: 345.2 kB / 1.278 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.8985, allocations: 359.3 kB / 1.278 GB, free: 16.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.8992, allocations: 0.5 MB / 1.279 GB, free: 16.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.9006, allocations: 0.843 MB / 1.28 GB, free: 16.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9006, allocations: 1.688 kB / 1.28 GB, free: 16.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002185/0.9028, allocations: 1.117 MB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.9028, allocations: 9.344 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.9028, allocations: 2.25 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.9033, allocations: 84.05 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.9042, allocations: 223.8 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.906, allocations: 1.643 MB / 1.283 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.9068, allocations: 128.8 kB / 1.283 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.9069, allocations: 43.97 kB / 1.283 GB, free: 14.48 MB / 1.014 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.0003952/0.9073, allocations: 325.8 kB / 1.283 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.9074, allocations: 120.7 kB / 1.283 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.9101, allocations: 1.506 MB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.9101, allocations: 14.28 kB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.9101, allocations: 0 / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.9102, allocations: 6.047 kB / 1.285 GB, free: 14.15 MB / 1.014 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.00391/0.9141, allocations: 2.842 MB / 1.288 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9141, allocations: 2.156 kB / 1.288 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.9149, allocations: 202.4 kB / 1.288 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.9153, allocations: 74.83 kB / 1.288 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.9154, allocations: 35.06 kB / 1.288 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.917, allocations: 1.682 MB / 1.29 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.917, allocations: 6.922 kB / 1.29 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.9199, allocations: 1.863 MB / 1.291 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.9203, allocations: 345.9 kB / 1.292 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.9205, allocations: 26.34 kB / 1.292 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.9213, allocations: 79.02 kB / 1.292 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.9214, allocations: 91.95 kB / 1.292 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.9215, allocations: 46.28 kB / 1.292 GB, free: 11.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006622/0.9222, allocations: 0.6271 MB / 1.293 GB, free: 11.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9222, allocations: 0 / 1.293 GB, free: 11.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000997/0.9232, allocations: 458.8 kB / 1.293 GB, free: 11.54 MB / 1.014 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.00498/0.9282, allocations: 3.018 MB / 1.296 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.9307, allocations: 1.332 MB / 1.297 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9307, allocations: 6.438 kB / 1.297 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.9317, allocations: 0.6716 MB / 1.298 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.9336, allocations: 0.5229 MB / 1.298 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.9448, allocations: 9.3 MB / 1.307 GB, free: 7.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.9454, allocations: 1.166 MB / 1.309 GB, free: 6.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001116/0.9465, allocations: 373.2 kB / 1.309 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.9471, allocations: 0.5248 MB / 1.309 GB, free: 6.25 MB / 1.014 GB Notification: Performance of SimCode: time 2.11e-07/0.9471, allocations: 0 / 1.309 GB, free: 6.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.913/2.86, allocations: 32.85 MB / 1.342 GB, free: 12.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/17.16, allocations: 17.3 kB / 1.342 GB, free: 12.94 MB / 1.029 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)