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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.838/0.838, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001134/0.001134, allocations: 176.9 kB / 182.2 MB, free: 9.434 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.599/1.599, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001039/0.001039, allocations: 99.95 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001852, allocations: 272.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.413e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5125, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.346, allocations: 1.867 GB / 2.624 GB, free: 190.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.347, allocations: 84.45 kB / 2.624 GB, free: 190.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.198/6.545, allocations: 394.4 MB / 3.01 GB, free: 68.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.417e-06/6.545, allocations: 4 kB / 3.01 GB, free: 68.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001195/6.545, allocations: 38.89 kB / 3.01 GB, free: 68.51 MB / 0.698 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.003653/6.549, allocations: 1.532 MB / 3.011 GB, free: 66.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/6.549, allocations: 8.031 kB / 3.011 GB, free: 66.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/6.551, allocations: 342 kB / 3.011 GB, free: 66.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/6.554, allocations: 1.114 MB / 3.012 GB, free: 65.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/6.554, allocations: 40.33 kB / 3.013 GB, free: 65.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/6.554, allocations: 71.86 kB / 3.013 GB, free: 65.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001899/6.556, allocations: 1.273 MB / 3.014 GB, free: 64.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/6.558, allocations: 1.023 MB / 3.015 GB, free: 62.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/6.558, allocations: 3.938 kB / 3.015 GB, free: 62.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/6.558, allocations: 4 kB / 3.015 GB, free: 62.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/6.558, allocations: 24 kB / 3.015 GB, free: 62.93 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005436/6.564, allocations: 3.478 MB / 3.018 GB, free: 59.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/6.565, allocations: 1.054 MB / 3.019 GB, free: 58.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/6.566, allocations: 385.3 kB / 3.02 GB, free: 57.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/6.566, allocations: 413.2 kB / 3.02 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/6.567, allocations: 0.5348 MB / 3.021 GB, free: 56.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 3.817e-06/6.567, allocations: 7.938 kB / 3.021 GB, free: 56.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.002664/6.57, allocations: 1.038 MB / 3.022 GB, free: 55.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/6.57, allocations: 248 kB / 3.022 GB, free: 55.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/6.57, allocations: 0.5978 MB / 3.022 GB, free: 54.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/6.571, allocations: 29.7 kB / 3.022 GB, free: 54.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/6.571, allocations: 0.5038 MB / 3.023 GB, free: 54.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/6.571, allocations: 315.3 kB / 3.023 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/6.571, allocations: 4 kB / 3.023 GB, free: 54.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/6.571, allocations: 334 kB / 3.024 GB, free: 53.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/6.572, allocations: 298.5 kB / 3.024 GB, free: 53.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/6.572, allocations: 436.6 kB / 3.024 GB, free: 52.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/6.573, allocations: 494 kB / 3.025 GB, free: 52.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/6.573, allocations: 0 / 3.025 GB, free: 52.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002241/6.575, allocations: 1.059 MB / 3.026 GB, free: 51.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/6.575, allocations: 5.562 kB / 3.026 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/6.575, allocations: 8.125 kB / 3.026 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/6.576, allocations: 84.75 kB / 3.026 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/6.577, allocations: 211.7 kB / 3.026 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/6.578, allocations: 1.461 MB / 3.027 GB, free: 49.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/6.579, allocations: 87.42 kB / 3.028 GB, free: 49.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/6.579, allocations: 39.97 kB / 3.028 GB, free: 49.36 MB / 0.698 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 () * 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.0002061/6.58, allocations: 124.8 kB / 3.028 GB, free: 49.23 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002228/6.582, allocations: 1.011 MB / 3.029 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/6.582, allocations: 94.88 kB / 3.029 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/6.585, allocations: 1.393 MB / 3.03 GB, free: 46.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/6.585, allocations: 15.95 kB / 3.03 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/6.585, allocations: 0 / 3.03 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/6.585, allocations: 3.984 kB / 3.03 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/6.589, allocations: 2.512 MB / 3.033 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/6.589, allocations: 192 / 3.033 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/6.59, allocations: 199.8 kB / 3.033 GB, free: 43.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/6.59, allocations: 84.77 kB / 3.033 GB, free: 43.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/6.59, allocations: 19.98 kB / 3.033 GB, free: 43.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/6.592, allocations: 1.496 MB / 3.034 GB, free: 42.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/6.592, allocations: 0 / 3.034 GB, free: 42.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/6.595, allocations: 1.773 MB / 3.036 GB, free: 40.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/6.595, allocations: 335.7 kB / 3.036 GB, free: 39.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/6.595, allocations: 7.953 kB / 3.036 GB, free: 39.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/6.596, allocations: 67.92 kB / 3.037 GB, free: 39.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/6.596, allocations: 81.19 kB / 3.037 GB, free: 39.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/6.596, allocations: 39.98 kB / 3.037 GB, free: 39.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006016/6.597, allocations: 0.4913 MB / 3.037 GB, free: 39.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/6.597, allocations: 0 / 3.037 GB, free: 39.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001717/6.599, allocations: 0.5261 MB / 3.038 GB, free: 38.77 MB / 0.698 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) * 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.006542/6.605, allocations: 4.631 MB / 3.042 GB, free: 34.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001859/6.607, allocations: 0.898 MB / 3.043 GB, free: 33.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/6.607, allocations: 7.797 kB / 3.043 GB, free: 33.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000874/6.608, allocations: 0.5576 MB / 3.044 GB, free: 32.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/6.61, allocations: 360.1 kB / 3.044 GB, free: 32.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00709/6.618, allocations: 2.182 MB / 3.046 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/6.618, allocations: 1.161 MB / 3.047 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00162/6.62, allocations: 351.7 kB / 3.048 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/6.621, allocations: 487.2 kB / 3.048 GB, free: 28.04 MB / 0.698 GB Notification: Performance of SimCode: time 2.054e-06/6.621, allocations: 4 kB / 3.048 GB, free: 28.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4958/7.117, allocations: 37.7 MB / 3.085 GB, free: 147.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/7.117, allocations: 171.2 kB / 3.085 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.417/10.53, allocations: 2.688 kB / 3.085 GB, free: 147 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)