Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8303/0.8303, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 177.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 447.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.000904, allocations: 92.33 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 275.8 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004309, allocations: 17.06 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.054/5.251, allocations: 1.868 GB / 2.641 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/5.252, allocations: 98.45 kB / 2.641 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.18/6.432, allocations: 399.6 MB / 3.032 GB, free: 61.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.335e-06/6.432, allocations: 0 / 3.032 GB, free: 61.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001628/6.432, allocations: 43.55 kB / 3.032 GB, free: 61.56 MB / 0.7136 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.004541/6.437, allocations: 1.682 MB / 3.033 GB, free: 59.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/6.437, allocations: 12.03 kB / 3.033 GB, free: 59.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/6.439, allocations: 342 kB / 3.034 GB, free: 59.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/6.442, allocations: 1.13 MB / 3.035 GB, free: 58.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/6.442, allocations: 86.19 kB / 3.035 GB, free: 58.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/6.443, allocations: 112 kB / 3.035 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/6.445, allocations: 1.219 MB / 3.036 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/6.445, allocations: 3.984 kB / 3.036 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/6.446, allocations: 51.94 kB / 3.036 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/6.446, allocations: 28 kB / 3.036 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/6.448, allocations: 1.394 MB / 3.038 GB, free: 55.33 MB / 0.7136 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.006377/6.454, allocations: 3.72 MB / 3.041 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/6.456, allocations: 1.162 MB / 3.042 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/6.457, allocations: 421.4 kB / 3.043 GB, free: 49.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009663/6.458, allocations: 0.5943 MB / 3.043 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.616e-06/6.458, allocations: 0 / 3.043 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.003954/6.462, allocations: 1.525 MB / 3.045 GB, free: 47.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/6.462, allocations: 248.3 kB / 3.045 GB, free: 47.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/6.464, allocations: 0.7974 MB / 3.046 GB, free: 46.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/6.464, allocations: 49.7 kB / 3.046 GB, free: 46.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/6.464, allocations: 0.4886 MB / 3.046 GB, free: 45.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/6.464, allocations: 331.1 kB / 3.047 GB, free: 45.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/6.464, allocations: 16 kB / 3.047 GB, free: 45.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/6.464, allocations: 345.9 kB / 3.047 GB, free: 45.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/6.465, allocations: 333.8 kB / 3.047 GB, free: 44.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/6.466, allocations: 499.6 kB / 3.048 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/6.466, allocations: 406.8 kB / 3.048 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/6.467, allocations: 0 / 3.048 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002292/6.469, allocations: 1.059 MB / 3.049 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/6.469, allocations: 4 kB / 3.049 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/6.469, allocations: 0 / 3.049 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006242/6.469, allocations: 88.83 kB / 3.049 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/6.47, allocations: 203.7 kB / 3.049 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/6.472, allocations: 1.558 MB / 3.051 GB, free: 40.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/6.473, allocations: 123 kB / 3.051 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/6.473, allocations: 39.98 kB / 3.051 GB, free: 40.8 MB / 0.7136 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.0006711/6.474, allocations: 311.1 kB / 3.051 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/6.474, allocations: 110.7 kB / 3.052 GB, free: 40.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/6.477, allocations: 1.441 MB / 3.053 GB, free: 38.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/6.477, allocations: 8 kB / 3.053 GB, free: 38.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/6.477, allocations: 0 / 3.053 GB, free: 38.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/6.477, allocations: 11.97 kB / 3.053 GB, free: 38.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/6.482, allocations: 2.679 MB / 3.056 GB, free: 36.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/6.482, allocations: 0 / 3.056 GB, free: 36.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009074/6.483, allocations: 207.9 kB / 3.056 GB, free: 35.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/6.484, allocations: 88.77 kB / 3.056 GB, free: 35.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/6.484, allocations: 27.98 kB / 3.056 GB, free: 35.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/6.485, allocations: 1.579 MB / 3.057 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/6.485, allocations: 0 / 3.057 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/6.488, allocations: 1.84 MB / 3.059 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007689/6.489, allocations: 359.3 kB / 3.06 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/6.489, allocations: 27.94 kB / 3.06 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/6.49, allocations: 87.88 kB / 3.06 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/6.491, allocations: 72.89 kB / 3.06 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/6.491, allocations: 47.91 kB / 3.06 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001032/6.492, allocations: 0.6446 MB / 3.06 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/6.492, allocations: 4 kB / 3.06 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002117/6.494, allocations: 0.581 MB / 3.061 GB, free: 30.32 MB / 0.7136 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.003752/6.498, allocations: 1.914 MB / 3.063 GB, free: 28.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002063/6.5, allocations: 0.999 MB / 3.064 GB, free: 27.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/6.5, allocations: 4.25 kB / 3.064 GB, free: 27.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/6.501, allocations: 0.6212 MB / 3.064 GB, free: 26.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/6.503, allocations: 461.2 kB / 3.065 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/6.509, allocations: 2.996 MB / 3.068 GB, free: 23.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/6.509, allocations: 1.162 MB / 3.069 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001593/6.511, allocations: 369 kB / 3.069 GB, free: 21.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/6.511, allocations: 123.4 kB / 3.069 GB, free: 21.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/6.511, allocations: 0 / 3.069 GB, free: 21.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.4833/6.995, allocations: 37.56 MB / 3.106 GB, free: 149.1 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)