Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 175.4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 102.9 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003969, allocations: 11.88 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/4.817, allocations: 2.101 GB / 3.08 GB, free: 163.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/4.818, allocations: 89.45 kB / 3.081 GB, free: 163.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.334/6.152, allocations: 404.3 MB / 3.475 GB, free: 139.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.735e-06/6.152, allocations: 0 / 3.475 GB, free: 139.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001746/6.152, allocations: 36 kB / 3.475 GB, free: 139.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004855/6.157, allocations: 1.755 MB / 3.477 GB, free: 138.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/6.157, allocations: 12.03 kB / 3.477 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005838/6.157, allocations: 194.2 kB / 3.477 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/6.16, allocations: 393.7 kB / 3.478 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/6.164, allocations: 1.172 MB / 3.479 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-05/6.164, allocations: 98.58 kB / 3.479 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/6.164, allocations: 124 kB / 3.479 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/6.167, allocations: 1.421 MB / 3.48 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/6.167, allocations: 0 / 3.48 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/6.167, allocations: 56 kB / 3.481 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/6.167, allocations: 32 kB / 3.481 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/6.17, allocations: 1.524 MB / 3.482 GB, free: 132.9 MB / 0.948 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.007499/6.177, allocations: 4.853 MB / 3.487 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/6.18, allocations: 1.471 MB / 3.488 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/6.18, allocations: 429.4 kB / 3.489 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/6.181, allocations: 0.6372 MB / 3.489 GB, free: 125.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.687e-06/6.181, allocations: 0 / 3.489 GB, free: 125.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.004019/6.185, allocations: 1.587 MB / 3.491 GB, free: 123.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/6.186, allocations: 244.3 kB / 3.491 GB, free: 123.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/6.187, allocations: 0.7863 MB / 3.492 GB, free: 122.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/6.187, allocations: 45.7 kB / 3.492 GB, free: 122.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/6.188, allocations: 0.5623 MB / 3.492 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/6.188, allocations: 331.1 kB / 3.493 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/6.188, allocations: 20 kB / 3.493 GB, free: 121.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/6.188, allocations: 341.9 kB / 3.493 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/6.189, allocations: 365.8 kB / 3.493 GB, free: 120.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/6.19, allocations: 0.5453 MB / 3.494 GB, free: 120.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/6.19, allocations: 441.6 kB / 3.494 GB, free: 119.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/6.19, allocations: 0 / 3.494 GB, free: 119.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002472/6.193, allocations: 1.129 MB / 3.495 GB, free: 118.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/6.193, allocations: 8.781 kB / 3.495 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/6.193, allocations: 4 kB / 3.495 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/6.194, allocations: 89.14 kB / 3.496 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/6.195, allocations: 223.7 kB / 3.496 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/6.197, allocations: 1.551 MB / 3.497 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/6.198, allocations: 143 kB / 3.497 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/6.198, allocations: 35.98 kB / 3.497 GB, free: 116.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0008576/6.199, allocations: 327.3 kB / 3.498 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/6.199, allocations: 118.6 kB / 3.498 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/6.202, allocations: 1.384 MB / 3.499 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/6.202, allocations: 12 kB / 3.499 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/6.202, allocations: 0 / 3.499 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/6.202, allocations: 3.984 kB / 3.499 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/6.208, allocations: 2.718 MB / 3.502 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/6.208, allocations: 4 kB / 3.502 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/6.209, allocations: 215.8 kB / 3.502 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/6.209, allocations: 92.7 kB / 3.502 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/6.209, allocations: 27.98 kB / 3.502 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/6.211, allocations: 1.575 MB / 3.504 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/6.211, allocations: 4.062 kB / 3.504 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/6.213, allocations: 1.25 MB / 3.505 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/6.214, allocations: 367.2 kB / 3.505 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/6.214, allocations: 27.98 kB / 3.505 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/6.216, allocations: 99.83 kB / 3.505 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/6.216, allocations: 72.89 kB / 3.506 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/6.216, allocations: 47.97 kB / 3.506 GB, free: 107.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009848/6.217, allocations: 0.6211 MB / 3.506 GB, free: 107.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.5e-07/6.217, allocations: 0 / 3.506 GB, free: 107.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002163/6.219, allocations: 0.5925 MB / 3.507 GB, free: 106.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (109): * Single equations (assignments): 106 * 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.005947/6.225, allocations: 3.568 MB / 3.51 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002304/6.227, allocations: 1.062 MB / 3.511 GB, free: 102 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/6.227, allocations: 4 kB / 3.511 GB, free: 102 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/6.228, allocations: 0.6524 MB / 3.512 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/6.231, allocations: 465.8 kB / 3.512 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/6.247, allocations: 8.896 MB / 3.521 GB, free: 91.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/6.248, allocations: 1.194 MB / 3.522 GB, free: 90.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001866/6.25, allocations: 381.1 kB / 3.523 GB, free: 90.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/6.251, allocations: 0.5149 MB / 3.523 GB, free: 89.62 MB / 0.948 GB Notification: Performance of SimCode: time 1.432e-06/6.251, allocations: 4 kB / 3.523 GB, free: 89.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08103/6.332, allocations: 53.13 MB / 3.575 GB, free: 36.81 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/6.332, allocations: 278.5 kB / 3.575 GB, free: 36.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.906/10.24, allocations: 3.938 kB / 3.575 GB, free: 36.44 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)