Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.386/2.386, allocations: 248.7 MB / 256.2 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 164.9 kB / 315.4 MB, free: 4.004 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.051/2.051, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 94.45 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.225e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.063/8.265, allocations: 2.547 GB / 3.431 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/8.265, allocations: 88.05 kB / 3.431 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 21.98/30.24, allocations: 4 GB / 7.431 GB, free: 77.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.064e-06/30.24, allocations: 4 kB / 7.431 GB, free: 77.69 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001759/30.24, allocations: 226.6 kB / 7.431 GB, free: 77.66 MB / 1.01 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.0379/30.28, allocations: 8.52 MB / 7.439 GB, free: 73.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/30.28, allocations: 7.375 kB / 7.439 GB, free: 73.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02662/30.31, allocations: 2.63 MB / 7.442 GB, free: 73.38 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04158/30.35, allocations: 10 MB / 7.452 GB, free: 71.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005776/30.35, allocations: 222.6 kB / 7.452 GB, free: 71.93 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003563/30.35, allocations: 414.4 kB / 7.452 GB, free: 71.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02587/30.38, allocations: 7.47 MB / 7.46 GB, free: 68.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03224/30.41, allocations: 7.789 MB / 7.467 GB, free: 61.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004724/30.41, allocations: 11.94 kB / 7.467 GB, free: 61.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003018/30.42, allocations: 8 kB / 7.467 GB, free: 61.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/30.42, allocations: 303.7 kB / 7.468 GB, free: 61.52 MB / 1.01 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.09586/30.51, allocations: 36.15 MB / 7.503 GB, free: 23.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/30.52, allocations: 6.536 MB / 7.509 GB, free: 17.11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006797/30.53, allocations: 2.935 MB / 7.512 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/30.53, allocations: 1.051 MB / 7.513 GB, free: 12.94 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006957/30.54, allocations: 2.867 MB / 7.516 GB, free: 10.04 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00511/30.54, allocations: 265.2 kB / 7.516 GB, free: 9.781 MB / 1.01 GB Notification: Performance of pre-optimization done (n=452): time 1.888e-05/30.54, allocations: 4 kB / 7.516 GB, free: 9.777 MB / 1.01 GB Notification: Performance of matching and sorting (n=456): time 0.05702/30.6, allocations: 14.34 MB / 7.53 GB, free: 11.29 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003059/30.6, allocations: 419.3 kB / 7.531 GB, free: 10.79 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/30.62, allocations: 5.188 MB / 7.536 GB, free: 5.613 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001556/30.62, allocations: 37.7 kB / 7.536 GB, free: 5.57 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007597/30.63, allocations: 3.7 MB / 7.539 GB, free: 1.832 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003611/30.63, allocations: 1.509 MB / 7.541 GB, free: 308 kB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005351/30.63, allocations: 0 / 7.541 GB, free: 308 kB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.9314/31.56, allocations: 496.1 kB / 7.541 GB, free: 102.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007628/31.57, allocations: 2.099 MB / 7.543 GB, free: 102.1 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00893/31.58, allocations: 3.303 MB / 7.547 GB, free: 100.9 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/31.59, allocations: 2.872 MB / 7.549 GB, free: 100.8 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.135e-05/31.59, allocations: 6.531 kB / 7.549 GB, free: 100.8 MB / 1.026 GB Notification: Performance of matching and sorting (n=594) (initialization): time 0.02579/31.62, allocations: 6.326 MB / 7.556 GB, free: 100.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002483/31.62, allocations: 10.65 MB / 7.566 GB, free: 89.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/31.62, allocations: 23.06 kB / 7.566 GB, free: 89.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/31.62, allocations: 336 kB / 7.566 GB, free: 89.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/31.63, allocations: 1.094 MB / 7.567 GB, free: 89.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009848/31.64, allocations: 6.284 MB / 7.574 GB, free: 84.86 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01444/31.66, allocations: 0.5875 MB / 7.574 GB, free: 84.86 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/31.66, allocations: 195.1 kB / 7.574 GB, free: 84.86 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/31.66, allocations: 4.375 kB / 7.574 GB, free: 84.86 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02487/31.68, allocations: 5.675 MB / 7.58 GB, free: 84.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/31.68, allocations: 23.91 kB / 7.58 GB, free: 84.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/31.69, allocations: 337.9 kB / 7.58 GB, free: 84.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009924/31.7, allocations: 1.069 MB / 7.581 GB, free: 84.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/31.71, allocations: 6.553 MB / 7.588 GB, free: 79.69 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01301/31.72, allocations: 0.5746 MB / 7.588 GB, free: 79.69 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/31.72, allocations: 195.3 kB / 7.588 GB, free: 79.69 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 567 * 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.002564/31.72, allocations: 219.6 kB / 7.589 GB, free: 79.57 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02026/31.74, allocations: 5.418 MB / 7.594 GB, free: 79.41 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003594/31.75, allocations: 0.6568 MB / 7.595 GB, free: 79.41 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02508/31.77, allocations: 6.207 MB / 7.601 GB, free: 79.06 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/31.77, allocations: 49.95 kB / 7.601 GB, free: 79.05 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/31.77, allocations: 4.125 kB / 7.601 GB, free: 79.05 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01779/31.79, allocations: 5.116 MB / 7.606 GB, free: 78.57 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.05123/31.84, allocations: 14.14 MB / 7.619 GB, free: 77.45 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.196e-05/31.84, allocations: 5.125 kB / 7.619 GB, free: 77.45 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009871/31.85, allocations: 1.007 MB / 7.62 GB, free: 77.45 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/31.85, allocations: 333.5 kB / 7.621 GB, free: 77.41 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/31.86, allocations: 72.42 kB / 7.621 GB, free: 77.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/31.87, allocations: 8.923 MB / 7.63 GB, free: 70.09 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/31.87, allocations: 7.344 kB / 7.63 GB, free: 70.09 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02721/31.89, allocations: 9.521 MB / 7.639 GB, free: 68.74 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00762/31.9, allocations: 1.552 MB / 7.64 GB, free: 68.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003192/31.91, allocations: 30.41 kB / 7.64 GB, free: 68.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01215/31.92, allocations: 0.5351 MB / 7.641 GB, free: 68.28 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/31.92, allocations: 295.8 kB / 7.641 GB, free: 68.28 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009258/31.92, allocations: 173.9 kB / 7.641 GB, free: 68.28 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0121/31.93, allocations: 3.975 MB / 7.645 GB, free: 68.06 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.183e-06/31.93, allocations: 0 / 7.645 GB, free: 68.06 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03534/31.97, allocations: 4.101 MB / 7.649 GB, free: 68.06 MB / 1.026 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (458): * Single equations (assignments): 445 * 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.04494/32.01, allocations: 18.48 MB / 7.667 GB, free: 62.33 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02553/32.04, allocations: 9.168 MB / 7.676 GB, free: 61.46 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/32.04, allocations: 11.66 kB / 7.676 GB, free: 61.46 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008362/32.05, allocations: 3.152 MB / 7.679 GB, free: 60.94 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03083/32.08, allocations: 3.612 MB / 7.683 GB, free: 60.88 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06185/32.14, allocations: 17.18 MB / 7.7 GB, free: 57.81 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/32.15, allocations: 5.704 MB / 7.705 GB, free: 56.9 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03261/32.18, allocations: 5.088 MB / 7.71 GB, free: 56.84 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01187/32.2, allocations: 3.548 MB / 7.714 GB, free: 56.83 MB / 1.026 GB Notification: Performance of SimCode: time 1.733e-06/32.2, allocations: 0 / 7.714 GB, free: 56.83 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.545/33.74, allocations: 242.7 MB / 7.951 GB, free: 122 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/33.74, allocations: 174.5 kB / 7.951 GB, free: 121.8 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/50.65, allocations: 5.469 kB / 7.951 GB, free: 121.8 MB / 1.073 GB