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.22/2.22, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001503/0.001503, allocations: 194.2 kB / 315.4 MB, free: 4.008 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.058/2.058, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001111/0.001111, allocations: 90.53 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.591e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.18/8.376, allocations: 2.504 GB / 3.388 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/8.377, allocations: 96.75 kB / 3.388 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.47/19.84, allocations: 2.231 GB / 5.619 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.064e-06/19.84, allocations: 4 kB / 5.619 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001341/19.84, allocations: 154.1 kB / 5.619 GB, free: 9.379 MB / 0.9323 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.02601/19.87, allocations: 5.672 MB / 5.625 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/19.87, allocations: 12.03 kB / 5.625 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/19.88, allocations: 1.331 MB / 5.626 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8056/20.69, allocations: 7.057 MB / 5.633 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/20.69, allocations: 134.8 kB / 5.633 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002648/20.69, allocations: 264.2 kB / 5.633 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01773/20.71, allocations: 4.625 MB / 5.638 GB, free: 93.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/20.73, allocations: 5.162 MB / 5.643 GB, free: 93.04 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003085/20.73, allocations: 17.17 kB / 5.643 GB, free: 93.04 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0019/20.74, allocations: 6.281 kB / 5.643 GB, free: 93.04 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/20.74, allocations: 204.8 kB / 5.643 GB, free: 93.02 MB / 0.9323 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.07034/20.81, allocations: 24.74 MB / 5.667 GB, free: 83.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/20.82, allocations: 5.051 MB / 5.672 GB, free: 81.46 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005127/20.82, allocations: 2.053 MB / 5.674 GB, free: 81.42 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/20.82, allocations: 0.9125 MB / 5.675 GB, free: 80.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005889/20.83, allocations: 1.881 MB / 5.677 GB, free: 80.32 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=284): time 8.145e-06/20.83, allocations: 0 / 5.677 GB, free: 80.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=288): time 0.0409/20.87, allocations: 9.541 MB / 5.686 GB, free: 77.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/20.87, allocations: 292.2 kB / 5.686 GB, free: 77.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/20.88, allocations: 3.898 MB / 5.69 GB, free: 77.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/20.88, allocations: 37.28 kB / 5.69 GB, free: 77.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004292/20.89, allocations: 2.48 MB / 5.693 GB, free: 76.52 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/20.89, allocations: 0.9632 MB / 5.694 GB, free: 76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/20.89, allocations: 0 / 5.694 GB, free: 76 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003156/20.89, allocations: 434.4 kB / 5.694 GB, free: 75.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/20.89, allocations: 1.412 MB / 5.695 GB, free: 75.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/20.9, allocations: 2.267 MB / 5.698 GB, free: 74.82 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/20.9, allocations: 1.931 MB / 5.699 GB, free: 74.77 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/20.9, allocations: 3.219 kB / 5.699 GB, free: 74.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01458/20.92, allocations: 4.211 MB / 5.704 GB, free: 74.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001276/20.92, allocations: 5.892 MB / 5.709 GB, free: 68.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/20.92, allocations: 14.81 kB / 5.709 GB, free: 68.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/20.92, allocations: 195.9 kB / 5.71 GB, free: 68.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006011/20.93, allocations: 0.6678 MB / 5.71 GB, free: 68.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/20.93, allocations: 3.371 MB / 5.713 GB, free: 65.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/20.94, allocations: 496.6 kB / 5.714 GB, free: 65.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/20.94, allocations: 127.2 kB / 5.714 GB, free: 65.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/20.94, allocations: 3.969 kB / 5.714 GB, free: 65.82 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01177/20.95, allocations: 3.705 MB / 5.718 GB, free: 65.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.526e-05/20.96, allocations: 14.94 kB / 5.718 GB, free: 65.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008726/20.96, allocations: 200.7 kB / 5.718 GB, free: 65.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005754/20.96, allocations: 0.6557 MB / 5.719 GB, free: 65.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/20.97, allocations: 3.929 MB / 5.722 GB, free: 63.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/20.98, allocations: 479.8 kB / 5.723 GB, free: 63.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/20.98, allocations: 123.1 kB / 5.723 GB, free: 63.03 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 349 * 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.001377/20.98, allocations: 211 kB / 5.723 GB, free: 62.89 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01204/20.99, allocations: 3.538 MB / 5.727 GB, free: 62.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002568/21, allocations: 462.6 kB / 5.727 GB, free: 62.27 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/21.01, allocations: 3.888 MB / 5.731 GB, free: 62.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/21.01, allocations: 29.28 kB / 5.731 GB, free: 62.05 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/21.01, allocations: 0 / 5.731 GB, free: 62.05 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009874/21.02, allocations: 3.256 MB / 5.734 GB, free: 61.78 MB / 0.9323 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.03065/21.05, allocations: 9.834 MB / 5.744 GB, free: 60.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/21.05, allocations: 2.531 kB / 5.744 GB, free: 60.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006231/21.06, allocations: 0.6665 MB / 5.744 GB, free: 60.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/21.06, allocations: 149.9 kB / 5.744 GB, free: 60.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007522/21.06, allocations: 52.73 kB / 5.744 GB, free: 60.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/21.06, allocations: 3.251 MB / 5.748 GB, free: 58.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/21.06, allocations: 7.5 kB / 5.748 GB, free: 58.38 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/21.08, allocations: 6.571 MB / 5.754 GB, free: 57.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00555/21.08, allocations: 1.111 MB / 5.755 GB, free: 56.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/21.09, allocations: 29.97 kB / 5.755 GB, free: 56.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008968/21.1, allocations: 432.4 kB / 5.756 GB, free: 56.72 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/21.1, allocations: 182.9 kB / 5.756 GB, free: 56.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005084/21.1, allocations: 114.3 kB / 5.756 GB, free: 56.71 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008731/21.11, allocations: 3.018 MB / 5.759 GB, free: 56.53 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.183e-06/21.11, allocations: 0 / 5.759 GB, free: 56.53 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02091/21.13, allocations: 2.778 MB / 5.762 GB, free: 56.51 MB / 0.9323 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) * 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.02373/21.15, allocations: 11.14 MB / 5.772 GB, free: 52.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01565/21.17, allocations: 6.103 MB / 5.778 GB, free: 52.29 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/21.17, allocations: 0.7812 kB / 5.778 GB, free: 52.29 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004842/21.17, allocations: 1.906 MB / 5.78 GB, free: 52.11 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02517/21.2, allocations: 2.811 MB / 5.783 GB, free: 52.07 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04138/21.24, allocations: 12.07 MB / 5.795 GB, free: 49.85 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/21.25, allocations: 4.25 MB / 5.799 GB, free: 65.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02248/21.27, allocations: 3.972 MB / 5.803 GB, free: 64.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006415/21.28, allocations: 2.237 MB / 5.805 GB, free: 64.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/21.28, allocations: 0 / 5.805 GB, free: 64.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.385/21.66, allocations: 166.5 MB / 5.968 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/21.66, allocations: 190.8 kB / 5.968 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/31.86, allocations: 0 / 5.968 GB, free: 9.496 MB / 0.9636 GB