Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_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.005036/0.005036, allocations: 100.5 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.001376/0.001376, allocations: 189.8 kB / 16.67 MB, free: 5.938 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.471/2.471, allocations: 482.6 MB / 0.755 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 64.64 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2582, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1673/0.4256, allocations: 176.6 MB / 1.414 GB, free: 7.695 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.4382, allocations: 10.91 MB / 1.425 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.4387, allocations: 35.81 kB / 1.425 GB, free: 12.72 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008696/0.4396, allocations: 408.7 kB / 1.425 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.4417, allocations: 1.094 MB / 1.426 GB, free: 11.22 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.4447, allocations: 1.715 MB / 1.428 GB, free: 9.512 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.4467, allocations: 2.369 MB / 1.43 GB, free: 7.129 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.4482, allocations: 1.408 MB / 1.432 GB, free: 5.68 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.4508, allocations: 1.394 MB / 1.433 GB, free: 4.297 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.4517, allocations: 0.7935 MB / 1.434 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.4519, allocations: 152 kB / 1.434 GB, free: 3.352 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.4538, allocations: 1.412 MB / 1.435 GB, free: 1.938 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.4542, allocations: 454.6 kB / 1.436 GB, free: 1.492 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.4548, allocations: 0.7853 MB / 1.437 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.4575, allocations: 2.596 MB / 1.439 GB, free: 14.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4575, allocations: 0 / 1.439 GB, free: 14.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4575, allocations: 0 / 1.439 GB, free: 14.09 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.4575, allocations: 0 / 1.439 GB, free: 14.09 MB / 1.17 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.002766/0.4603, allocations: 1.943 MB / 1.441 GB, free: 12.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4603, allocations: 12.03 kB / 1.441 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.4605, allocations: 177.4 kB / 1.441 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.4624, allocations: 358.7 kB / 1.442 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4637, allocations: 0.9922 MB / 1.443 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.4638, allocations: 86.33 kB / 1.443 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.4639, allocations: 116 kB / 1.443 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.4659, allocations: 1.31 MB / 1.444 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.4659, allocations: 4 kB / 1.444 GB, free: 8.926 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.466, allocations: 48 kB / 1.444 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4661, allocations: 28 kB / 1.444 GB, free: 8.852 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.4683, allocations: 1.445 MB / 1.446 GB, free: 7.395 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 preOpt removeSimpleEquations (simulation): time 0.005207/0.4735, allocations: 4.101 MB / 1.45 GB, free: 3.074 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.4755, allocations: 1.211 MB / 1.451 GB, free: 1.848 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/0.4762, allocations: 458.1 kB / 1.451 GB, free: 1.398 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.4769, allocations: 429.4 kB / 1.452 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.478, allocations: 0.6567 MB / 1.452 GB, free: 240 kB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 1.954e-06/0.478, allocations: 0 / 1.452 GB, free: 240 kB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.003601/0.4816, allocations: 1.607 MB / 1.454 GB, free: 14.6 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.4817, allocations: 204.9 kB / 1.454 GB, free: 14.36 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/0.4827, allocations: 0.875 MB / 1.455 GB, free: 13.46 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.4828, allocations: 49.7 kB / 1.455 GB, free: 13.4 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.4832, allocations: 0.5246 MB / 1.455 GB, free: 12.87 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.4834, allocations: 372.8 kB / 1.456 GB, free: 12.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.4837, allocations: 194.6 kB / 1.456 GB, free: 12.31 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4839, allocations: 345.9 kB / 1.456 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/0.4846, allocations: 361.8 kB / 1.457 GB, free: 11.61 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.4854, allocations: 0.501 MB / 1.457 GB, free: 11.07 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.4868, allocations: 0.8446 MB / 1.458 GB, free: 10.21 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4868, allocations: 0 / 1.458 GB, free: 10.21 MB / 1.186 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002239/0.4891, allocations: 1.118 MB / 1.459 GB, free: 9.086 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4891, allocations: 4 kB / 1.459 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4891, allocations: 4 kB / 1.459 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.4896, allocations: 84.86 kB / 1.459 GB, free: 8.992 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.4905, allocations: 223.7 kB / 1.459 GB, free: 8.773 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.4924, allocations: 1.647 MB / 1.461 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.4931, allocations: 131.2 kB / 1.461 GB, free: 6.852 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.4932, allocations: 43.97 kB / 1.461 GB, free: 6.809 MB / 1.186 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.0004013/0.4936, allocations: 313.5 kB / 1.461 GB, free: 6.492 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.4938, allocations: 127.2 kB / 1.461 GB, free: 6.367 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.4967, allocations: 1.513 MB / 1.463 GB, free: 4.828 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4967, allocations: 15.94 kB / 1.463 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4967, allocations: 0 / 1.463 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4967, allocations: 7.922 kB / 1.463 GB, free: 4.805 MB / 1.186 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.00422/0.501, allocations: 2.839 MB / 1.466 GB, free: 1.859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.501, allocations: 3.938 kB / 1.466 GB, free: 1.855 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.5018, allocations: 195.8 kB / 1.466 GB, free: 1.664 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.5022, allocations: 76.97 kB / 1.466 GB, free: 1.586 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.5023, allocations: 39.91 kB / 1.466 GB, free: 1.547 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.504, allocations: 1.674 MB / 1.468 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.504, allocations: 0 / 1.468 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.5072, allocations: 1.87 MB / 1.47 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.5076, allocations: 351.9 kB / 1.47 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5078, allocations: 39.89 kB / 1.47 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/0.5085, allocations: 73.75 kB / 1.47 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5087, allocations: 92.75 kB / 1.47 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/0.5088, allocations: 47.97 kB / 1.47 GB, free: 13.21 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007371/0.5095, allocations: 0.6261 MB / 1.471 GB, free: 12.57 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5095, allocations: 0 / 1.471 GB, free: 12.57 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008937/0.5104, allocations: 458.9 kB / 1.471 GB, free: 12.12 MB / 1.201 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.005204/0.5156, allocations: 3.021 MB / 1.474 GB, free: 9.25 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.5175, allocations: 1.069 MB / 1.475 GB, free: 8.168 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5175, allocations: 4 kB / 1.475 GB, free: 8.164 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.5186, allocations: 0.6607 MB / 1.476 GB, free: 7.492 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.5206, allocations: 0.5269 MB / 1.476 GB, free: 6.984 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.5329, allocations: 8.814 MB / 1.485 GB, free: 13.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.5337, allocations: 1.162 MB / 1.486 GB, free: 12.78 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000944/0.5346, allocations: 365.7 kB / 1.486 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006828/0.5353, allocations: 0.5305 MB / 1.487 GB, free: 11.89 MB / 1.217 GB Notification: Performance of SimCode: time 2.61e-07/0.5353, allocations: 0 / 1.487 GB, free: 11.89 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.302/2.837, allocations: 33.16 MB / 1.519 GB, free: 11.12 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.45/20.28, allocations: 20.34 kB / 1.519 GB, free: 11.11 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)