Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 178.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 93.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004503, allocations: 9.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.088/7.364, allocations: 2.547 GB / 3.447 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/7.365, allocations: 99.16 kB / 3.447 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 18.04/25.4, allocations: 4.044 GB / 7.491 GB, free: 62.34 MB / 1.026 GB Notification: Performance of FrontEnd: time 7.814e-06/25.4, allocations: 4.562 kB / 7.491 GB, free: 62.34 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002171/25.4, allocations: 226.7 kB / 7.491 GB, free: 62.3 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.05159/25.46, allocations: 10.32 MB / 7.501 GB, free: 58.22 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/25.46, allocations: 7.531 kB / 7.501 GB, free: 58.22 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006662/25.46, allocations: 0.9299 MB / 7.502 GB, free: 58.14 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/25.49, allocations: 2.641 MB / 7.505 GB, free: 57.62 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04061/25.53, allocations: 10.06 MB / 7.515 GB, free: 56.38 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001449/25.53, allocations: 0.5175 MB / 7.515 GB, free: 56.36 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005779/25.54, allocations: 0.693 MB / 7.516 GB, free: 56.36 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04234/25.58, allocations: 8.982 MB / 7.525 GB, free: 55.67 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004245/25.58, allocations: 15.66 kB / 7.525 GB, free: 55.67 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003502/25.58, allocations: 286.1 kB / 7.525 GB, free: 55.67 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/25.58, allocations: 307.4 kB / 7.525 GB, free: 55.65 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/25.61, allocations: 8.31 MB / 7.533 GB, free: 55.59 MB / 1.026 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.097/25.71, allocations: 37.33 MB / 7.57 GB, free: 41.35 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/25.72, allocations: 5.502 MB / 7.575 GB, free: 40.69 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/25.72, allocations: 1.054 MB / 7.576 GB, free: 39.66 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007849/25.73, allocations: 3.162 MB / 7.579 GB, free: 39.5 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007082/25.74, allocations: 400.9 kB / 7.58 GB, free: 39.3 MB / 1.026 GB Notification: Performance of pre-optimization done (n=455): time 3.897e-05/25.74, allocations: 2.156 kB / 7.58 GB, free: 39.3 MB / 1.026 GB Notification: Performance of matching and sorting (n=459): time 0.0643/25.8, allocations: 17.81 MB / 7.597 GB, free: 35.01 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003536/25.8, allocations: 406.8 kB / 7.597 GB, free: 34.57 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02155/25.82, allocations: 5.97 MB / 7.603 GB, free: 34.17 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001867/25.82, allocations: 125.6 kB / 7.603 GB, free: 34.14 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.005795/25.83, allocations: 3.729 MB / 7.607 GB, free: 32.97 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003352/25.83, allocations: 1.583 MB / 7.609 GB, free: 31.95 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/25.83, allocations: 91.09 kB / 7.609 GB, free: 31.95 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004879/25.83, allocations: 497.8 kB / 7.609 GB, free: 31.64 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004381/25.84, allocations: 2.326 MB / 7.611 GB, free: 31.62 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/25.84, allocations: 3.573 MB / 7.615 GB, free: 30.35 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006043/25.85, allocations: 2.943 MB / 7.618 GB, free: 30.3 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-05/25.85, allocations: 6.047 kB / 7.618 GB, free: 30.3 MB / 1.026 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01836/25.87, allocations: 6.881 MB / 7.625 GB, free: 29.79 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004813/25.87, allocations: 10.86 MB / 7.635 GB, free: 34.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/25.87, allocations: 22.84 kB / 7.635 GB, free: 34.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/25.87, allocations: 355.9 kB / 7.635 GB, free: 34.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006764/25.88, allocations: 1.09 MB / 7.637 GB, free: 34.31 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/25.89, allocations: 6.655 MB / 7.643 GB, free: 29.32 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/25.9, allocations: 0.7133 MB / 7.644 GB, free: 29.28 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/25.9, allocations: 197.9 kB / 7.644 GB, free: 29.28 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/25.9, allocations: 3.75 kB / 7.644 GB, free: 29.28 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02015/25.92, allocations: 6.3 MB / 7.65 GB, free: 29.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/25.92, allocations: 25.72 kB / 7.65 GB, free: 29.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/25.93, allocations: 356.5 kB / 7.65 GB, free: 29.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006266/25.93, allocations: 1.075 MB / 7.651 GB, free: 29.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009421/25.94, allocations: 6.973 MB / 7.658 GB, free: 23.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/25.95, allocations: 0.6953 MB / 7.659 GB, free: 23.76 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/25.96, allocations: 194.4 kB / 7.659 GB, free: 23.76 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (578): * Single equations (assignments): 570 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 3 {1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.013/25.97, allocations: 2.828 MB / 7.662 GB, free: 23.56 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004967/25.97, allocations: 0.6922 MB / 7.663 GB, free: 23.2 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02667/26, allocations: 6.797 MB / 7.669 GB, free: 22.8 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.607e-05/26, allocations: 47.58 kB / 7.669 GB, free: 22.8 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.809e-05/26, allocations: 6.094 kB / 7.669 GB, free: 22.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01525/26.02, allocations: 5.536 MB / 7.675 GB, free: 22.31 MB / 1.042 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 postOpt removeSimpleEquations (simulation): time 0.05125/26.07, allocations: 15.46 MB / 7.69 GB, free: 21.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/26.07, allocations: 3.469 kB / 7.69 GB, free: 21.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005732/26.07, allocations: 1.014 MB / 7.691 GB, free: 21.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/26.08, allocations: 350.9 kB / 7.691 GB, free: 21.13 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/26.08, allocations: 125.5 kB / 7.691 GB, free: 21.13 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/26.09, allocations: 9.35 MB / 7.7 GB, free: 29.51 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/26.09, allocations: 6.828 kB / 7.7 GB, free: 29.51 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/26.11, allocations: 10.35 MB / 7.71 GB, free: 28 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00978/26.12, allocations: 1.618 MB / 7.712 GB, free: 27.54 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004487/26.12, allocations: 107.8 kB / 7.712 GB, free: 27.54 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/26.14, allocations: 0.6204 MB / 7.713 GB, free: 27.5 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001631/26.14, allocations: 301.2 kB / 7.713 GB, free: 27.5 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007641/26.14, allocations: 174.8 kB / 7.713 GB, free: 27.5 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01356/26.15, allocations: 4.773 MB / 7.718 GB, free: 26.26 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.31e-07/26.15, allocations: 3.719 kB / 7.718 GB, free: 26.26 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02924/26.18, allocations: 4.387 MB / 7.722 GB, free: 25.59 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 24 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.04128/26.22, allocations: 19.08 MB / 7.741 GB, free: 16.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02205/26.24, allocations: 9.85 MB / 7.75 GB, free: 12.5 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.189e-05/26.25, allocations: 4.875 kB / 7.75 GB, free: 12.5 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.007262/26.25, allocations: 3.441 MB / 7.754 GB, free: 11.03 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02856/26.28, allocations: 4.14 MB / 7.758 GB, free: 10.28 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.128/27.41, allocations: 50.51 MB / 7.807 GB, free: 122.8 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01613/27.42, allocations: 5.692 MB / 7.813 GB, free: 121.9 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.02267/27.45, allocations: 3.411 MB / 7.816 GB, free: 121.8 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01486/27.46, allocations: 3.663 MB / 7.82 GB, free: 121.8 MB / 1.089 GB Notification: Performance of SimCode: time 3.186e-06/27.46, allocations: 0 / 7.82 GB, free: 121.8 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5495/28.01, allocations: 297.4 MB / 8.11 GB, free: 44.2 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/28.01, allocations: 263.2 kB / 8.11 GB, free: 43.84 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/42.38, allocations: 0 / 8.11 GB, free: 43.84 MB / 1.089 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)