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.113/2.113, allocations: 248.5 MB / 261.1 MB, free: 6.078 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.00148/0.00148, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.2 MB / 0.571 GB, free: 11.72 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.00112/0.001119, allocations: 94.42 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.168e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1917, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.005/8.197, allocations: 2.504 GB / 3.394 GB, free: 154 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/8.198, allocations: 90.39 kB / 3.394 GB, free: 154 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.42/20.62, allocations: 2.25 GB / 5.644 GB, free: 107.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/20.62, allocations: 0 / 5.644 GB, free: 107.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001451/20.62, allocations: 153 kB / 5.644 GB, free: 107.8 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.02982/20.65, allocations: 5.668 MB / 5.65 GB, free: 106 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/20.65, allocations: 9.219 kB / 5.65 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003425/20.65, allocations: 0.5829 MB / 5.65 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/20.67, allocations: 1.342 MB / 5.652 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03078/20.7, allocations: 7.056 MB / 5.659 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000722/20.7, allocations: 324.7 kB / 5.659 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/20.7, allocations: 449.8 kB / 5.659 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/20.72, allocations: 5.786 MB / 5.665 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002799/20.72, allocations: 18.19 kB / 5.665 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/20.73, allocations: 178.8 kB / 5.665 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/20.73, allocations: 197.1 kB / 5.665 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/20.74, allocations: 4.968 MB / 5.67 GB, free: 104.3 MB / 0.948 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.06313/20.81, allocations: 25.51 MB / 5.695 GB, free: 94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009187/20.82, allocations: 4.131 MB / 5.699 GB, free: 93.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005384/20.82, allocations: 2.156 MB / 5.701 GB, free: 93.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/20.82, allocations: 0.9001 MB / 5.702 GB, free: 92.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005047/20.83, allocations: 1.863 MB / 5.704 GB, free: 92.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.635e-06/20.83, allocations: 3.391 kB / 5.704 GB, free: 92.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.03037/20.86, allocations: 8.366 MB / 5.712 GB, free: 90.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/20.86, allocations: 240.9 kB / 5.712 GB, free: 90.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/20.87, allocations: 4.205 MB / 5.717 GB, free: 90.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/20.87, allocations: 93.55 kB / 5.717 GB, free: 90.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003948/20.88, allocations: 2.467 MB / 5.719 GB, free: 89.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001924/20.88, allocations: 1.002 MB / 5.72 GB, free: 88.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/20.88, allocations: 57.28 kB / 5.72 GB, free: 88.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003039/20.88, allocations: 428.1 kB / 5.721 GB, free: 88.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/20.88, allocations: 1.481 MB / 5.722 GB, free: 88.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/20.89, allocations: 2.356 MB / 5.724 GB, free: 87.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/20.89, allocations: 1.967 MB / 5.726 GB, free: 87.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/20.89, allocations: 5.594 kB / 5.726 GB, free: 87.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01408/20.91, allocations: 4.424 MB / 5.731 GB, free: 86.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001249/20.91, allocations: 5.716 MB / 5.736 GB, free: 81.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.288e-05/20.91, allocations: 17.61 kB / 5.736 GB, free: 81.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/20.91, allocations: 208.1 kB / 5.736 GB, free: 81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006044/20.92, allocations: 0.6674 MB / 5.737 GB, free: 81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/20.92, allocations: 3.417 MB / 5.74 GB, free: 78.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/20.93, allocations: 0.5411 MB / 5.741 GB, free: 78.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/20.93, allocations: 122.3 kB / 5.741 GB, free: 78.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/20.93, allocations: 7.219 kB / 5.741 GB, free: 78.53 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0113/20.94, allocations: 4.014 MB / 5.745 GB, free: 78.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-05/20.94, allocations: 13.66 kB / 5.745 GB, free: 78.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008864/20.94, allocations: 212.4 kB / 5.745 GB, free: 78.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005779/20.95, allocations: 0.6538 MB / 5.746 GB, free: 78.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/20.96, allocations: 4.052 MB / 5.75 GB, free: 75.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/20.97, allocations: 0.5327 MB / 5.75 GB, free: 75.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/20.97, allocations: 118.1 kB / 5.75 GB, free: 75.59 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 () * 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.001272/20.97, allocations: 322.6 kB / 5.751 GB, free: 75.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/20.97, allocations: 478.4 kB / 5.751 GB, free: 75.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/20.98, allocations: 4.167 MB / 5.755 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/20.98, allocations: 29.69 kB / 5.755 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/20.98, allocations: 3.953 kB / 5.755 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009016/20.99, allocations: 3.456 MB / 5.759 GB, free: 74.66 MB / 0.948 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.03022/21.02, allocations: 10.44 MB / 5.769 GB, free: 73.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/21.02, allocations: 3.156 kB / 5.769 GB, free: 73.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006032/21.03, allocations: 0.6624 MB / 5.769 GB, free: 73.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007672/21.03, allocations: 162.3 kB / 5.77 GB, free: 73.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005842/21.03, allocations: 86.77 kB / 5.77 GB, free: 73.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/21.03, allocations: 3.316 MB / 5.773 GB, free: 71.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/21.03, allocations: 7.531 kB / 5.773 GB, free: 71.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/21.05, allocations: 6.863 MB / 5.78 GB, free: 69.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005549/21.06, allocations: 1.139 MB / 5.781 GB, free: 69.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002348/21.06, allocations: 71.09 kB / 5.781 GB, free: 69.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008824/21.07, allocations: 481.6 kB / 5.781 GB, free: 69.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009537/21.07, allocations: 173.8 kB / 5.781 GB, free: 69.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004834/21.07, allocations: 109.6 kB / 5.781 GB, free: 69.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009098/21.08, allocations: 3.299 MB / 5.785 GB, free: 69.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.102e-06/21.08, allocations: 2.281 kB / 5.785 GB, free: 69.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01976/21.1, allocations: 2.996 MB / 5.788 GB, free: 69.33 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) * 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.02266/21.12, allocations: 11.21 MB / 5.799 GB, free: 65.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01614/21.14, allocations: 6.422 MB / 5.805 GB, free: 64.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/21.14, allocations: 8.438 kB / 5.805 GB, free: 64.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/21.14, allocations: 1.985 MB / 5.807 GB, free: 64.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02527/21.17, allocations: 2.946 MB / 5.81 GB, free: 64.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/21.21, allocations: 12.33 MB / 5.822 GB, free: 62.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009126/21.21, allocations: 4.251 MB / 5.826 GB, free: 61.61 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02231/21.24, allocations: 3.989 MB / 5.83 GB, free: 61.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006405/21.24, allocations: 2.237 MB / 5.832 GB, free: 61.56 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/21.24, allocations: 0 / 5.832 GB, free: 61.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.23/22.47, allocations: 202.8 MB / 6.03 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/22.47, allocations: 245.5 kB / 6.03 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/34.52, allocations: 2.625 kB / 6.03 GB, free: 119.3 MB / 0.9636 GB