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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.476/2.476, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 192.8 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.951/1.951, allocations: 223.1 MB / 0.7992 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 95.88 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 13.47 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3525, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.819/5.171, allocations: 1.909 GB / 3.138 GB, free: 22.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/5.172, allocations: 89.16 kB / 3.138 GB, free: 22.81 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/6.812, allocations: 399.6 MB / 3.528 GB, free: 96.25 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/6.812, allocations: 0 / 3.528 GB, free: 96.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002069/6.812, allocations: 43.92 kB / 3.528 GB, free: 96.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005578/6.818, allocations: 1.681 MB / 3.53 GB, free: 94.46 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/6.818, allocations: 12.83 kB / 3.53 GB, free: 94.45 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006365/6.818, allocations: 173 kB / 3.53 GB, free: 94.27 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/6.821, allocations: 349.9 kB / 3.53 GB, free: 93.93 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/6.824, allocations: 1.125 MB / 3.531 GB, free: 92.76 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/6.824, allocations: 82.58 kB / 3.531 GB, free: 92.68 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003409/6.825, allocations: 116 kB / 3.532 GB, free: 92.56 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/6.828, allocations: 1.215 MB / 3.533 GB, free: 91.28 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/6.828, allocations: 0 / 3.533 GB, free: 91.28 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/6.828, allocations: 48 kB / 3.533 GB, free: 91.23 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/6.828, allocations: 28 kB / 3.533 GB, free: 91.21 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/6.83, allocations: 1.398 MB / 3.534 GB, free: 89.8 MB / 1.167 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.007205/6.837, allocations: 3.724 MB / 3.538 GB, free: 85.93 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/6.84, allocations: 1.158 MB / 3.539 GB, free: 84.75 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007719/6.841, allocations: 429.4 kB / 3.539 GB, free: 84.25 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/6.842, allocations: 0.5982 MB / 3.54 GB, free: 83.64 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 5.37e-06/6.842, allocations: 0 / 3.54 GB, free: 83.64 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.004406/6.846, allocations: 1.525 MB / 3.541 GB, free: 82.09 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/6.847, allocations: 244.3 kB / 3.542 GB, free: 81.79 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/6.848, allocations: 0.7935 MB / 3.542 GB, free: 80.98 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/6.848, allocations: 49.7 kB / 3.543 GB, free: 80.92 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/6.849, allocations: 0.4886 MB / 3.543 GB, free: 80.43 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/6.849, allocations: 323.3 kB / 3.543 GB, free: 80.11 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/6.849, allocations: 20 kB / 3.543 GB, free: 80.09 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000102/6.849, allocations: 337.9 kB / 3.544 GB, free: 79.75 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/6.85, allocations: 345.8 kB / 3.544 GB, free: 79.41 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/6.851, allocations: 497 kB / 3.544 GB, free: 78.89 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/6.851, allocations: 406.8 kB / 3.545 GB, free: 78.49 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/6.852, allocations: 4 kB / 3.545 GB, free: 78.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002514/6.854, allocations: 1.055 MB / 3.546 GB, free: 77.42 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/6.854, allocations: 4 kB / 3.546 GB, free: 77.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/6.854, allocations: 7.938 kB / 3.546 GB, free: 77.41 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/6.855, allocations: 84.83 kB / 3.546 GB, free: 77.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009448/6.856, allocations: 203.7 kB / 3.546 GB, free: 77.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/6.858, allocations: 1.563 MB / 3.548 GB, free: 75.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/6.859, allocations: 123.1 kB / 3.548 GB, free: 75.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/6.859, allocations: 43.95 kB / 3.548 GB, free: 75.25 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001024/6.861, allocations: 298.5 kB / 3.548 GB, free: 74.95 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/6.861, allocations: 114.5 kB / 3.548 GB, free: 74.84 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/6.864, allocations: 1.43 MB / 3.55 GB, free: 73.39 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/6.864, allocations: 15.98 kB / 3.55 GB, free: 73.38 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/6.864, allocations: 0 / 3.55 GB, free: 73.38 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/6.864, allocations: 7.969 kB / 3.55 GB, free: 73.37 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/6.87, allocations: 2.693 MB / 3.552 GB, free: 70.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/6.87, allocations: 7.984 kB / 3.552 GB, free: 70.57 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/6.871, allocations: 196 kB / 3.552 GB, free: 70.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/6.872, allocations: 84.78 kB / 3.553 GB, free: 70.29 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/6.872, allocations: 31.97 kB / 3.553 GB, free: 70.26 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/6.873, allocations: 1.571 MB / 3.554 GB, free: 68.54 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/6.874, allocations: 4 kB / 3.554 GB, free: 68.54 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/6.877, allocations: 1.836 MB / 3.556 GB, free: 66.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007952/6.877, allocations: 355.2 kB / 3.556 GB, free: 66.27 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/6.878, allocations: 24 kB / 3.556 GB, free: 66.24 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/6.879, allocations: 91.8 kB / 3.556 GB, free: 66.15 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/6.879, allocations: 76.83 kB / 3.556 GB, free: 66.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/6.879, allocations: 43.97 kB / 3.556 GB, free: 66.03 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001014/6.88, allocations: 0.6485 MB / 3.557 GB, free: 65.37 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/6.88, allocations: 7.938 kB / 3.557 GB, free: 65.36 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002248/6.882, allocations: 0.581 MB / 3.558 GB, free: 64.78 MB / 1.167 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007054/6.889, allocations: 4.604 MB / 3.562 GB, free: 60.26 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002049/6.891, allocations: 1.003 MB / 3.563 GB, free: 59.24 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/6.891, allocations: 4 kB / 3.563 GB, free: 59.24 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/6.892, allocations: 0.6178 MB / 3.564 GB, free: 58.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/6.895, allocations: 457 kB / 3.564 GB, free: 58.16 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/6.909, allocations: 7.661 MB / 3.572 GB, free: 50.23 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/6.91, allocations: 1.159 MB / 3.573 GB, free: 49.04 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001461/6.911, allocations: 369 kB / 3.573 GB, free: 48.68 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/6.912, allocations: 499.2 kB / 3.574 GB, free: 48.19 MB / 1.167 GB Notification: Performance of SimCode: time 1.914e-06/6.912, allocations: 0 / 3.574 GB, free: 48.19 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7833/7.695, allocations: 52.4 MB / 3.625 GB, free: 301.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/7.695, allocations: 251.9 kB / 3.625 GB, free: 301.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.767/11.46, allocations: 4.688 kB / 3.625 GB, free: 301.6 MB / 1.167 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/linux/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=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)