Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",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.138/2.138, allocations: 251 MB / 265.9 MB, free: 11.69 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.001553/0.001553, allocations: 185.2 kB / 325.5 MB, free: 2.898 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.322/2.322, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001127/0.001127, allocations: 83.38 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004777, allocations: 15.44 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2102, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.629/7.839, allocations: 2.504 GB / 3.402 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/7.84, allocations: 95.45 kB / 3.403 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 12.47/20.31, allocations: 2.254 GB / 5.656 GB, free: 88.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.845e-06/20.31, allocations: 0 / 5.656 GB, free: 88.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001317/20.31, allocations: 150.7 kB / 5.657 GB, free: 88.07 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: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.03341/20.35, allocations: 6.909 MB / 5.663 GB, free: 85.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/20.35, allocations: 9.875 kB / 5.663 GB, free: 85.52 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00317/20.35, allocations: 0.5892 MB / 5.664 GB, free: 85.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/20.36, allocations: 1.339 MB / 5.665 GB, free: 85.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02566/20.39, allocations: 7.101 MB / 5.672 GB, free: 84.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/20.39, allocations: 331.1 kB / 5.672 GB, free: 84.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/20.39, allocations: 447.1 kB / 5.673 GB, free: 84.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/20.42, allocations: 5.902 MB / 5.679 GB, free: 83.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002629/20.42, allocations: 6.812 kB / 5.679 GB, free: 83.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/20.42, allocations: 177.9 kB / 5.679 GB, free: 83.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000294/20.42, allocations: 199.6 kB / 5.679 GB, free: 83.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/20.44, allocations: 5.134 MB / 5.684 GB, free: 83.67 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.05778/20.49, allocations: 25.52 MB / 5.709 GB, free: 73.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0096/20.5, allocations: 4.221 MB / 5.713 GB, free: 72.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/20.5, allocations: 0.9135 MB / 5.714 GB, free: 71.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005787/20.51, allocations: 1.917 MB / 5.716 GB, free: 71.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.504e-06/20.51, allocations: 3 kB / 5.716 GB, free: 71.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.0367/20.55, allocations: 10.18 MB / 5.726 GB, free: 69.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/20.55, allocations: 240.1 kB / 5.726 GB, free: 69.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/20.56, allocations: 4.259 MB / 5.73 GB, free: 69.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/20.56, allocations: 88.14 kB / 5.73 GB, free: 69.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004911/20.57, allocations: 2.458 MB / 5.733 GB, free: 68.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002257/20.57, allocations: 0.998 MB / 5.734 GB, free: 67.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005767/20.57, allocations: 55.16 kB / 5.734 GB, free: 67.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003546/20.57, allocations: 433.2 kB / 5.734 GB, free: 67.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/20.57, allocations: 1.545 MB / 5.736 GB, free: 67.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/20.58, allocations: 2.409 MB / 5.738 GB, free: 66.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/20.59, allocations: 2.009 MB / 5.74 GB, free: 66.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.64e-05/20.59, allocations: 6.781 kB / 5.74 GB, free: 66.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01451/20.6, allocations: 4.554 MB / 5.744 GB, free: 66.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/20.6, allocations: 5.712 MB / 5.75 GB, free: 60.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.643e-05/20.6, allocations: 15.94 kB / 5.75 GB, free: 60.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/20.6, allocations: 214.3 kB / 5.75 GB, free: 60.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00601/20.61, allocations: 0.6605 MB / 5.751 GB, free: 60.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/20.61, allocations: 3.46 MB / 5.754 GB, free: 57.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/20.62, allocations: 0.5564 MB / 5.755 GB, free: 57.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/20.62, allocations: 121.3 kB / 5.755 GB, free: 57.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/20.62, allocations: 3.781 kB / 5.755 GB, free: 57.74 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/20.64, allocations: 4.126 MB / 5.759 GB, free: 57.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.297e-05/20.64, allocations: 18.98 kB / 5.759 GB, free: 57.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000924/20.64, allocations: 200.2 kB / 5.759 GB, free: 57.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/20.64, allocations: 0.6559 MB / 5.76 GB, free: 57.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/20.65, allocations: 4.123 MB / 5.764 GB, free: 54.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009734/20.66, allocations: 0.528 MB / 5.764 GB, free: 54.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/20.66, allocations: 125.1 kB / 5.764 GB, free: 54.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 348 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.006276/20.67, allocations: 2.192 MB / 5.767 GB, free: 54.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/20.67, allocations: 475.3 kB / 5.767 GB, free: 54.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/20.68, allocations: 4.269 MB / 5.771 GB, free: 54.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/20.68, allocations: 29.53 kB / 5.771 GB, free: 54.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/20.68, allocations: 0 / 5.771 GB, free: 54.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009619/20.69, allocations: 3.557 MB / 5.775 GB, free: 53.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 postOpt removeSimpleEquations (simulation): time 0.03085/20.72, allocations: 10.54 MB / 5.785 GB, free: 49.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/20.72, allocations: 6.375 kB / 5.785 GB, free: 49.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006117/20.73, allocations: 0.6597 MB / 5.786 GB, free: 49.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/20.73, allocations: 176.2 kB / 5.786 GB, free: 49.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005685/20.73, allocations: 82.8 kB / 5.786 GB, free: 49.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/20.73, allocations: 3.357 MB / 5.789 GB, free: 46.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/20.73, allocations: 9.578 kB / 5.789 GB, free: 46.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/20.75, allocations: 7.016 MB / 5.796 GB, free: 42.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005025/20.75, allocations: 1.13 MB / 5.797 GB, free: 42.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/20.76, allocations: 75.02 kB / 5.797 GB, free: 42.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008558/20.76, allocations: 486.5 kB / 5.798 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009679/20.77, allocations: 176.1 kB / 5.798 GB, free: 42.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005165/20.77, allocations: 109.3 kB / 5.798 GB, free: 42.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009545/20.78, allocations: 3.353 MB / 5.801 GB, free: 41 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/20.78, allocations: 6.844 kB / 5.801 GB, free: 41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02028/20.8, allocations: 2.992 MB / 5.804 GB, free: 40.62 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02594/20.82, allocations: 11.35 MB / 5.815 GB, free: 34.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01821/20.84, allocations: 6.442 MB / 5.821 GB, free: 32.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/20.84, allocations: 7.344 kB / 5.821 GB, free: 32.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005697/20.85, allocations: 2.046 MB / 5.823 GB, free: 30.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02821/20.87, allocations: 2.943 MB / 5.826 GB, free: 28.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06946/20.94, allocations: 31.27 MB / 5.857 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01393/20.96, allocations: 4.244 MB / 5.861 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02293/20.98, allocations: 2.421 MB / 5.863 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01127/20.99, allocations: 2.318 MB / 5.866 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of SimCode: time 1.844e-06/20.99, allocations: 0 / 5.866 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.217/22.21, allocations: 187.8 MB / 6.049 GB, free: 98.08 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/22.21, allocations: 281.4 kB / 6.049 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/32.39, allocations: 0 / 6.049 GB, free: 97.71 MB / 0.9636 GB