Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",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.661/1.661, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001177/0.001177, allocations: 180.8 kB / 361.4 MB, free: 6.797 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.852/1.852, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009802/0.0009809, allocations: 90.02 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.707e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8132, allocations: 115.3 MB / 0.9644 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.043/7.856, allocations: 2.375 GB / 3.34 GB, free: 98.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/7.857, allocations: 87.73 kB / 3.34 GB, free: 98.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.753/13.61, allocations: 1.319 GB / 4.659 GB, free: 136.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/13.61, allocations: 3.719 kB / 4.659 GB, free: 136.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008063/13.61, allocations: 97.05 kB / 4.659 GB, free: 136.6 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01273/13.62, allocations: 3.384 MB / 4.663 GB, free: 135.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/13.62, allocations: 9.781 kB / 4.663 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008025/13.63, allocations: 1.133 MB / 4.664 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/13.65, allocations: 4.752 MB / 4.668 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/13.65, allocations: 75.69 kB / 4.669 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/13.65, allocations: 150.3 kB / 4.669 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00633/13.65, allocations: 2.39 MB / 4.671 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/13.66, allocations: 2.742 MB / 4.674 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/13.66, allocations: 12.14 kB / 4.674 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/13.66, allocations: 3.938 kB / 4.674 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/13.66, allocations: 102.3 kB / 4.674 GB, free: 134.1 MB / 0.948 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.02016/13.68, allocations: 12.86 MB / 4.686 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/13.68, allocations: 2 MB / 4.688 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/13.69, allocations: 1.05 MB / 4.689 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008697/13.69, allocations: 4.31 MB / 4.694 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/13.7, allocations: 0.9435 MB / 4.694 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00155/13.7, allocations: 147.5 kB / 4.695 GB, free: 127.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 4.429e-06/13.7, allocations: 2.25 kB / 4.695 GB, free: 127.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01176/13.71, allocations: 4.727 MB / 4.699 GB, free: 126.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/13.71, allocations: 122.2 kB / 4.699 GB, free: 126.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/13.71, allocations: 2.39 MB / 4.702 GB, free: 125.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004874/13.71, allocations: 29.67 kB / 4.702 GB, free: 125.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/13.72, allocations: 1.502 MB / 4.703 GB, free: 125.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/13.72, allocations: 0.4951 MB / 4.704 GB, free: 125 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/13.72, allocations: 1.75 kB / 4.704 GB, free: 125 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000145/13.72, allocations: 393.2 kB / 4.704 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/13.72, allocations: 0.9156 MB / 4.705 GB, free: 124.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/13.72, allocations: 1.538 MB / 4.706 GB, free: 123.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/13.72, allocations: 1.283 MB / 4.708 GB, free: 123.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/13.72, allocations: 3.719 kB / 4.708 GB, free: 123.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006433/13.73, allocations: 3.01 MB / 4.711 GB, free: 123.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001581/13.73, allocations: 7.08 MB / 4.718 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/13.73, allocations: 17.81 kB / 4.718 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/13.73, allocations: 410.7 kB / 4.718 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/13.74, allocations: 489 kB / 4.718 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/13.74, allocations: 2.633 MB / 4.721 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/13.74, allocations: 173.8 kB / 4.721 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006308/13.74, allocations: 111.7 kB / 4.721 GB, free: 114.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/13.74, allocations: 5.188 kB / 4.721 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006734/13.75, allocations: 2.551 MB / 4.724 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-05/13.75, allocations: 22.73 kB / 4.724 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/13.75, allocations: 419.1 kB / 4.724 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/13.75, allocations: 480.9 kB / 4.725 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/13.76, allocations: 2.633 MB / 4.727 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/13.76, allocations: 160.3 kB / 4.727 GB, free: 112.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004597/13.76, allocations: 104.8 kB / 4.727 GB, free: 112.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.000918/13.76, allocations: 162.8 kB / 4.728 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005329/13.77, allocations: 2.018 MB / 4.73 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/13.77, allocations: 283.6 kB / 4.73 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005392/13.77, allocations: 2.374 MB / 4.732 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/13.77, allocations: 15.41 kB / 4.732 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/13.77, allocations: 7.797 kB / 4.732 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003419/13.78, allocations: 2.062 MB / 4.734 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/13.79, allocations: 5.026 MB / 4.739 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/13.79, allocations: 0 / 4.739 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/13.79, allocations: 273.1 kB / 4.739 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/13.79, allocations: 329.2 kB / 4.74 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/13.79, allocations: 27.31 kB / 4.74 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/13.8, allocations: 8.728 MB / 4.748 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/13.8, allocations: 0 / 4.748 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007089/13.81, allocations: 3.457 MB / 4.752 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/13.81, allocations: 0.6459 MB / 4.752 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/13.81, allocations: 23.39 kB / 4.752 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/13.81, allocations: 109 kB / 4.752 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/13.81, allocations: 121.6 kB / 4.753 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/13.81, allocations: 72.28 kB / 4.753 GB, free: 102.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0041/13.82, allocations: 1.775 MB / 4.754 GB, free: 102.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/13.82, allocations: 0 / 4.754 GB, free: 102.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01158/13.83, allocations: 1.69 MB / 4.756 GB, free: 102 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0122/13.84, allocations: 6.352 MB / 4.762 GB, free: 98.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008443/13.85, allocations: 3.911 MB / 4.766 GB, free: 97.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/13.85, allocations: 5.531 kB / 4.766 GB, free: 97.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0025/13.85, allocations: 1.617 MB / 4.768 GB, free: 96.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00913/13.86, allocations: 1.456 MB / 4.769 GB, free: 96.06 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/13.89, allocations: 6.29 MB / 4.775 GB, free: 93.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/13.89, allocations: 2.45 MB / 4.778 GB, free: 92.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007828/13.9, allocations: 1.681 MB / 4.779 GB, free: 92.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/13.9, allocations: 1.298 MB / 4.78 GB, free: 91.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/13.9, allocations: 4 kB / 4.78 GB, free: 91.31 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/14.06, allocations: 100.7 MB / 4.879 GB, free: 25.45 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/14.06, allocations: 162.9 kB / 4.879 GB, free: 25.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.078/20.14, allocations: 0 / 4.879 GB, free: 25.27 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)