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.448/2.448, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001197/0.001197, allocations: 184.6 kB / 487.4 MB, free: 5.047 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.567/1.567, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009324, allocations: 109.4 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.163e-05, allocations: 5.406 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3826, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.292, allocations: 1.907 GB / 3.113 GB, free: 432.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/5.292, allocations: 85.38 kB / 3.113 GB, free: 432.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7544/6.047, allocations: 394.4 MB / 3.498 GB, free: 42.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.714e-06/6.047, allocations: 0 / 3.498 GB, free: 42.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001619/6.047, allocations: 35.98 kB / 3.498 GB, free: 42.95 MB / 1.151 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.003675/6.05, allocations: 1.533 MB / 3.499 GB, free: 41.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/6.051, allocations: 8.031 kB / 3.499 GB, free: 41.35 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/6.053, allocations: 349.9 kB / 3.5 GB, free: 41.01 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/6.056, allocations: 1.114 MB / 3.501 GB, free: 39.85 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/6.056, allocations: 36 kB / 3.501 GB, free: 39.82 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/6.056, allocations: 68 kB / 3.501 GB, free: 39.75 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001891/6.058, allocations: 1.273 MB / 3.502 GB, free: 38.47 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/6.06, allocations: 1.023 MB / 3.503 GB, free: 37.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/6.06, allocations: 0 / 3.503 GB, free: 37.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/6.06, allocations: 3.984 kB / 3.503 GB, free: 37.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/6.06, allocations: 28 kB / 3.503 GB, free: 37.36 MB / 1.151 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.004957/6.065, allocations: 3.479 MB / 3.506 GB, free: 33.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/6.066, allocations: 1.048 MB / 3.508 GB, free: 32.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/6.067, allocations: 371.5 kB / 3.508 GB, free: 32.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/6.067, allocations: 425.2 kB / 3.508 GB, free: 31.81 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/6.068, allocations: 0.5348 MB / 3.509 GB, free: 31.26 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 3.857e-06/6.068, allocations: 0 / 3.509 GB, free: 31.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.002583/6.071, allocations: 1.035 MB / 3.51 GB, free: 30.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/6.071, allocations: 244.1 kB / 3.51 GB, free: 29.92 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/6.071, allocations: 0.6094 MB / 3.511 GB, free: 29.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/6.072, allocations: 29.7 kB / 3.511 GB, free: 29.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/6.072, allocations: 0.4883 MB / 3.511 GB, free: 28.77 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/6.072, allocations: 315.2 kB / 3.511 GB, free: 28.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/6.072, allocations: 0 / 3.511 GB, free: 28.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/6.072, allocations: 345.9 kB / 3.512 GB, free: 28.11 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/6.073, allocations: 294.5 kB / 3.512 GB, free: 27.82 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/6.073, allocations: 444.5 kB / 3.512 GB, free: 27.35 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/6.074, allocations: 490 kB / 3.513 GB, free: 26.87 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/6.074, allocations: 7.938 kB / 3.513 GB, free: 26.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00218/6.076, allocations: 1.055 MB / 3.514 GB, free: 25.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/6.076, allocations: 4 kB / 3.514 GB, free: 25.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/6.076, allocations: 0 / 3.514 GB, free: 25.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/6.077, allocations: 88.83 kB / 3.514 GB, free: 25.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/6.078, allocations: 203.7 kB / 3.514 GB, free: 25.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/6.079, allocations: 1.473 MB / 3.516 GB, free: 23.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/6.08, allocations: 87.3 kB / 3.516 GB, free: 23.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/6.08, allocations: 43.97 kB / 3.516 GB, free: 23.78 MB / 1.151 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.0001952/6.08, allocations: 118 kB / 3.516 GB, free: 23.66 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002136/6.083, allocations: 1.019 MB / 3.517 GB, free: 22.63 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/6.083, allocations: 98.78 kB / 3.517 GB, free: 22.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/6.085, allocations: 1.389 MB / 3.518 GB, free: 21.12 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/6.085, allocations: 12 kB / 3.518 GB, free: 21.11 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/6.085, allocations: 0 / 3.518 GB, free: 21.11 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/6.085, allocations: 11.97 kB / 3.518 GB, free: 21.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/6.089, allocations: 2.499 MB / 3.521 GB, free: 18.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/6.089, allocations: 4 kB / 3.521 GB, free: 18.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/6.09, allocations: 195.9 kB / 3.521 GB, free: 18.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/6.091, allocations: 84.77 kB / 3.521 GB, free: 18.23 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/6.091, allocations: 27.98 kB / 3.521 GB, free: 18.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/6.092, allocations: 1.5 MB / 3.523 GB, free: 16.58 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/6.092, allocations: 0 / 3.523 GB, free: 16.58 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/6.095, allocations: 1.761 MB / 3.524 GB, free: 14.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/6.095, allocations: 347.4 kB / 3.525 GB, free: 14.38 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/6.095, allocations: 4 kB / 3.525 GB, free: 14.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/6.096, allocations: 79.7 kB / 3.525 GB, free: 14.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/6.096, allocations: 73.16 kB / 3.525 GB, free: 14.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/6.097, allocations: 43.97 kB / 3.525 GB, free: 14.19 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005909/6.097, allocations: 0.4913 MB / 3.525 GB, free: 13.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.71e-07/6.097, allocations: 0 / 3.525 GB, free: 13.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001594/6.099, allocations: 0.5261 MB / 3.526 GB, free: 13.18 MB / 1.151 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.006627/6.105, allocations: 4.629 MB / 3.53 GB, free: 8.539 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00164/6.107, allocations: 0.8981 MB / 3.531 GB, free: 7.629 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/6.107, allocations: 0 / 3.531 GB, free: 7.629 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/6.108, allocations: 0.5655 MB / 3.532 GB, free: 7.059 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/6.11, allocations: 361 kB / 3.532 GB, free: 6.711 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/6.114, allocations: 2.158 MB / 3.534 GB, free: 4.492 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/6.115, allocations: 1.169 MB / 3.535 GB, free: 3.297 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001099/6.116, allocations: 343.8 kB / 3.536 GB, free: 2.957 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/6.117, allocations: 491.2 kB / 3.536 GB, free: 2.477 MB / 1.151 GB Notification: Performance of SimCode: time 3.9e-07/6.117, allocations: 0 / 3.536 GB, free: 2.477 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7087/6.825, allocations: 37.68 MB / 3.573 GB, free: 295.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/6.825, allocations: 154.6 kB / 3.573 GB, free: 295.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/10.35, allocations: 0 / 3.573 GB, free: 295.3 MB / 1.151 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)