Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001294/0.001294, allocations: 180 kB / 498.1 MB, free: 5.73 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.441/1.441, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009714/0.0009716, allocations: 100.2 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.622/3.858, allocations: 1.907 GB / 3.13 GB, free: 79.16 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/3.858, allocations: 93.36 kB / 3.13 GB, free: 79.11 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.273/5.131, allocations: 399.6 MB / 3.52 GB, free: 155.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/5.131, allocations: 0 / 3.52 GB, free: 155.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001458/5.131, allocations: 35.94 kB / 3.52 GB, free: 155.1 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.00422/5.136, allocations: 1.684 MB / 3.522 GB, free: 153.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/5.136, allocations: 12.03 kB / 3.522 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004349/5.136, allocations: 169.4 kB / 3.522 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/5.139, allocations: 353.8 kB / 3.523 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/5.141, allocations: 1.118 MB / 3.524 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/5.141, allocations: 86.23 kB / 3.524 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/5.142, allocations: 112 kB / 3.524 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/5.144, allocations: 1.215 MB / 3.525 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/5.144, allocations: 3.938 kB / 3.525 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/5.144, allocations: 52 kB / 3.525 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/5.144, allocations: 31.95 kB / 3.525 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/5.146, allocations: 1.394 MB / 3.527 GB, free: 148.7 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.005712/5.152, allocations: 3.728 MB / 3.53 GB, free: 144.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/5.154, allocations: 1.162 MB / 3.531 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/5.154, allocations: 425.3 kB / 3.532 GB, free: 143.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/5.155, allocations: 0.5943 MB / 3.532 GB, free: 142.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 2.655e-06/5.155, allocations: 0 / 3.532 GB, free: 142.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.003642/5.159, allocations: 1.517 MB / 3.534 GB, free: 141 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/5.159, allocations: 248.3 kB / 3.534 GB, free: 140.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/5.16, allocations: 0.7935 MB / 3.535 GB, free: 139.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/5.16, allocations: 49.7 kB / 3.535 GB, free: 139.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/5.16, allocations: 0.4886 MB / 3.535 GB, free: 139.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/5.161, allocations: 335.2 kB / 3.536 GB, free: 139 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/5.161, allocations: 20 kB / 3.536 GB, free: 138.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/5.161, allocations: 341.9 kB / 3.536 GB, free: 138.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/5.161, allocations: 345.7 kB / 3.536 GB, free: 138.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/5.162, allocations: 493 kB / 3.537 GB, free: 137.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/5.163, allocations: 406.8 kB / 3.537 GB, free: 137.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/5.163, allocations: 0 / 3.537 GB, free: 137.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00204/5.165, allocations: 1.059 MB / 3.538 GB, free: 136.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/5.165, allocations: 4 kB / 3.538 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/5.165, allocations: 0 / 3.538 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/5.165, allocations: 84.84 kB / 3.538 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008651/5.166, allocations: 211.6 kB / 3.538 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/5.168, allocations: 1.547 MB / 3.54 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/5.169, allocations: 119.1 kB / 3.54 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.492e-05/5.169, allocations: 43.97 kB / 3.54 GB, free: 134.1 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.0006389/5.17, allocations: 301.4 kB / 3.54 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/5.17, allocations: 114.6 kB / 3.541 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/5.172, allocations: 1.445 MB / 3.542 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/5.172, allocations: 11.98 kB / 3.542 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/5.172, allocations: 4 kB / 3.542 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/5.172, allocations: 7.969 kB / 3.542 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/5.176, allocations: 2.693 MB / 3.545 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/5.176, allocations: 0 / 3.545 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/5.177, allocations: 203.6 kB / 3.545 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/5.178, allocations: 88.91 kB / 3.545 GB, free: 129.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/5.178, allocations: 35.91 kB / 3.545 GB, free: 129.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/5.179, allocations: 1.567 MB / 3.546 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/5.179, allocations: 3.938 kB / 3.546 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/5.182, allocations: 1.836 MB / 3.548 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/5.183, allocations: 359.4 kB / 3.549 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/5.183, allocations: 24.06 kB / 3.549 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/5.184, allocations: 91.78 kB / 3.549 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/5.184, allocations: 80.84 kB / 3.549 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/5.184, allocations: 47.97 kB / 3.549 GB, free: 124.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008036/5.185, allocations: 0.6485 MB / 3.549 GB, free: 124.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.31e-07/5.185, allocations: 0 / 3.549 GB, free: 124.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001796/5.187, allocations: 0.5694 MB / 3.55 GB, free: 123.6 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.006093/5.193, allocations: 4.605 MB / 3.555 GB, free: 119.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001861/5.195, allocations: 1.007 MB / 3.555 GB, free: 118.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/5.195, allocations: 4 kB / 3.555 GB, free: 118.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/5.196, allocations: 0.6177 MB / 3.556 GB, free: 117.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/5.198, allocations: 466 kB / 3.557 GB, free: 117 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/5.209, allocations: 7.649 MB / 3.564 GB, free: 109.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/5.209, allocations: 1.17 MB / 3.565 GB, free: 107.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001346/5.211, allocations: 369 kB / 3.566 GB, free: 107.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/5.211, allocations: 495.2 kB / 3.566 GB, free: 107 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/5.211, allocations: 0 / 3.566 GB, free: 107 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07296/5.284, allocations: 52.4 MB / 3.617 GB, free: 55.03 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/5.285, allocations: 243.6 kB / 3.617 GB, free: 54.79 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/9.151, allocations: 64 / 3.617 GB, free: 54.79 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)