Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001394/0.001394, allocations: 188.2 kB / 377.1 MB, free: 1.535 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.836/1.836, allocations: 205.4 MB / 0.6366 GB, free: 9.5 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.0009842/0.0009842, allocations: 92.91 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 8 kB / 0.8748 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3428, allocations: 116.3 MB / 0.9884 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.33/7.673, allocations: 2.377 GB / 3.365 GB, free: 179.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/7.673, allocations: 91.17 kB / 3.366 GB, free: 179.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.478/14.15, allocations: 1.33 GB / 4.696 GB, free: 82.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.146e-06/14.15, allocations: 0.75 kB / 4.696 GB, free: 82.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008943/14.15, allocations: 95.72 kB / 4.696 GB, free: 82.46 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.01725/14.17, allocations: 4.198 MB / 4.7 GB, free: 81.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/14.17, allocations: 9.781 kB / 4.7 GB, free: 81.05 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/14.17, allocations: 330.1 kB / 4.701 GB, free: 81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/14.18, allocations: 1.14 MB / 4.702 GB, free: 80.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/14.2, allocations: 4.791 MB / 4.706 GB, free: 80.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/14.2, allocations: 188 kB / 4.707 GB, free: 80.24 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/14.2, allocations: 250.7 kB / 4.707 GB, free: 80.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/14.21, allocations: 3.113 MB / 4.71 GB, free: 79.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/14.21, allocations: 12.81 kB / 4.71 GB, free: 79.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/14.21, allocations: 102.5 kB / 4.71 GB, free: 79.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/14.21, allocations: 100.2 kB / 4.71 GB, free: 79.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007147/14.22, allocations: 2.581 MB / 4.713 GB, free: 79.77 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.03055/14.25, allocations: 13.26 MB / 4.725 GB, free: 74.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/14.25, allocations: 2.366 MB / 4.728 GB, free: 73.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/14.27, allocations: 4.382 MB / 4.732 GB, free: 72.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003395/14.27, allocations: 0.9955 MB / 4.733 GB, free: 72.43 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003306/14.28, allocations: 196.4 kB / 4.733 GB, free: 72.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 1.915e-05/14.28, allocations: 5.656 kB / 4.733 GB, free: 72.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01924/14.3, allocations: 5.745 MB / 4.739 GB, free: 70.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/14.3, allocations: 122.8 kB / 4.739 GB, free: 70.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/14.31, allocations: 2.783 MB / 4.742 GB, free: 70.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001121/14.31, allocations: 65.33 kB / 4.742 GB, free: 70.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003447/14.31, allocations: 1.507 MB / 4.743 GB, free: 69.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/14.31, allocations: 0.5152 MB / 4.744 GB, free: 69.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007344/14.31, allocations: 42.16 kB / 4.744 GB, free: 69.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004301/14.31, allocations: 391.4 kB / 4.744 GB, free: 69.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/14.32, allocations: 0.9242 MB / 4.745 GB, free: 69.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/14.32, allocations: 1.573 MB / 4.747 GB, free: 68.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/14.33, allocations: 1.186 MB / 4.748 GB, free: 68.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-05/14.33, allocations: 4.625 kB / 4.748 GB, free: 68.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01284/14.34, allocations: 3.075 MB / 4.751 GB, free: 68.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002514/14.34, allocations: 7.169 MB / 4.758 GB, free: 60.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/14.34, allocations: 25.86 kB / 4.758 GB, free: 60.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/14.34, allocations: 466.1 kB / 4.758 GB, free: 60.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/14.35, allocations: 494.5 kB / 4.759 GB, free: 60.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/14.35, allocations: 2.731 MB / 4.761 GB, free: 59.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005125/14.36, allocations: 229.6 kB / 4.762 GB, free: 59.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009459/14.36, allocations: 114.1 kB / 4.762 GB, free: 59.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/14.36, allocations: 3.562 kB / 4.762 GB, free: 59.02 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009662/14.37, allocations: 2.761 MB / 4.764 GB, free: 58.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/14.37, allocations: 17.22 kB / 4.764 GB, free: 58.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/14.37, allocations: 492.9 kB / 4.765 GB, free: 58.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/14.37, allocations: 473.3 kB / 4.765 GB, free: 58.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/14.38, allocations: 2.737 MB / 4.768 GB, free: 57.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/14.38, allocations: 205.4 kB / 4.768 GB, free: 57.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009746/14.39, allocations: 106.9 kB / 4.768 GB, free: 57.07 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.004193/14.39, allocations: 1.091 MB / 4.769 GB, free: 56.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00172/14.39, allocations: 308 kB / 4.77 GB, free: 56.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008474/14.4, allocations: 2.473 MB / 4.772 GB, free: 56.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/14.4, allocations: 24.03 kB / 4.772 GB, free: 56.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/14.4, allocations: 2.844 kB / 4.772 GB, free: 56.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004952/14.4, allocations: 2.118 MB / 4.774 GB, free: 56.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/14.42, allocations: 5.373 MB / 4.779 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/14.42, allocations: 0 / 4.779 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/14.42, allocations: 280.7 kB / 4.78 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/14.43, allocations: 301.4 kB / 4.78 GB, free: 55.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/14.43, allocations: 49.39 kB / 4.78 GB, free: 55.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00845/14.43, allocations: 8.875 MB / 4.789 GB, free: 63.97 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/14.43, allocations: 4.625 kB / 4.789 GB, free: 63.97 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009094/14.44, allocations: 3.551 MB / 4.792 GB, free: 63.36 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003085/14.45, allocations: 0.6625 MB / 4.793 GB, free: 63.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/14.45, allocations: 41.56 kB / 4.793 GB, free: 63.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/14.45, allocations: 146.2 kB / 4.793 GB, free: 63.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/14.45, allocations: 114 kB / 4.793 GB, free: 63.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003502/14.45, allocations: 72.34 kB / 4.793 GB, free: 63.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.005811/14.46, allocations: 2.127 MB / 4.795 GB, free: 62.95 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.61e-07/14.46, allocations: 0 / 4.795 GB, free: 62.95 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01193/14.47, allocations: 1.79 MB / 4.797 GB, free: 62.86 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * 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%) 3,(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.01368/14.48, allocations: 6.462 MB / 4.803 GB, free: 60.97 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01091/14.5, allocations: 4.045 MB / 4.807 GB, free: 60.63 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/14.5, allocations: 4.281 kB / 4.807 GB, free: 60.63 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002975/14.5, allocations: 1.685 MB / 4.809 GB, free: 59.95 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009731/14.51, allocations: 1.68 MB / 4.811 GB, free: 59.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/14.54, allocations: 21.04 MB / 4.831 GB, free: 44.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003933/14.54, allocations: 2.45 MB / 4.833 GB, free: 43.27 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006472/14.55, allocations: 1.16 MB / 4.835 GB, free: 43.15 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003187/14.55, allocations: 1.332 MB / 4.836 GB, free: 43.14 MB / 0.9636 GB Notification: Performance of SimCode: time 1.333e-06/14.55, allocations: 0 / 4.836 GB, free: 43.14 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2046/14.76, allocations: 115.7 MB / 4.949 GB, free: 20.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/14.76, allocations: 236.2 kB / 4.949 GB, free: 19.96 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/21.76, allocations: 4 kB / 4.949 GB, free: 19.96 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)