Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",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: 249.5 MB / 257 MB, free: 6.922 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.001223/0.001224, allocations: 180.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008708/0.0008706, allocations: 94.52 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.165e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2205, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.452/6.673, allocations: 2.512 GB / 3.397 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/6.673, allocations: 91.95 kB / 3.397 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.848/15.52, allocations: 2.583 GB / 5.98 GB, free: 84.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/15.52, allocations: 0 / 5.98 GB, free: 84.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001083/15.52, allocations: 163.3 kB / 5.98 GB, free: 83.97 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: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.02027/15.54, allocations: 6.202 MB / 5.987 GB, free: 77.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/15.54, allocations: 16.03 kB / 5.987 GB, free: 77.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/15.55, allocations: 1.503 MB / 5.988 GB, free: 76.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/15.57, allocations: 7.432 MB / 5.995 GB, free: 68.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/15.57, allocations: 156 kB / 5.995 GB, free: 68.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/15.57, allocations: 300 kB / 5.996 GB, free: 68.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01024/15.58, allocations: 5.36 MB / 6.001 GB, free: 63.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/15.59, allocations: 5.912 MB / 6.007 GB, free: 56.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/15.59, allocations: 7.906 kB / 6.007 GB, free: 56.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005192/15.59, allocations: 8 kB / 6.007 GB, free: 56.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/15.59, allocations: 221.4 kB / 6.007 GB, free: 56.75 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.03709/15.63, allocations: 27.23 MB / 6.034 GB, free: 28.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/15.64, allocations: 5.133 MB / 6.039 GB, free: 22.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/15.64, allocations: 2.357 MB / 6.041 GB, free: 20.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008353/15.64, allocations: 0.9203 MB / 6.042 GB, free: 19.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/15.64, allocations: 2.191 MB / 6.044 GB, free: 17.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 4.809e-06/15.64, allocations: 3.938 kB / 6.044 GB, free: 17.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.02032/15.66, allocations: 10.89 MB / 6.055 GB, free: 6.145 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/15.66, allocations: 303.5 kB / 6.055 GB, free: 5.785 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/15.67, allocations: 4.161 MB / 6.059 GB, free: 1.633 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008098/15.67, allocations: 29.7 kB / 6.059 GB, free: 1.598 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.6231/16.29, allocations: 2.711 MB / 6.062 GB, free: 115.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002032/16.29, allocations: 1.092 MB / 6.063 GB, free: 115 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/16.29, allocations: 0 / 6.063 GB, free: 115 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002653/16.29, allocations: 444.6 kB / 6.063 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/16.3, allocations: 1.65 MB / 6.065 GB, free: 114.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/16.3, allocations: 2.546 MB / 6.067 GB, free: 113.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004374/16.31, allocations: 2.213 MB / 6.069 GB, free: 113.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/16.31, allocations: 4.25 kB / 6.069 GB, free: 113.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009715/16.32, allocations: 4.788 MB / 6.074 GB, free: 113.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/16.32, allocations: 6.374 MB / 6.08 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/16.32, allocations: 13.81 kB / 6.08 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/16.32, allocations: 203.5 kB / 6.08 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/16.32, allocations: 0.7592 MB / 6.081 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/16.32, allocations: 3.369 MB / 6.084 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007006/16.33, allocations: 0.5255 MB / 6.085 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008567/16.33, allocations: 136.1 kB / 6.085 GB, free: 104.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/16.33, allocations: 7.031 kB / 6.085 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008812/16.34, allocations: 4.245 MB / 6.089 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-05/16.34, allocations: 16.97 kB / 6.089 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/16.34, allocations: 203.5 kB / 6.089 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/16.34, allocations: 0.7534 MB / 6.09 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/16.35, allocations: 3.921 MB / 6.094 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/16.36, allocations: 0.5125 MB / 6.094 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008644/16.36, allocations: 132.8 kB / 6.095 GB, free: 101.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (399): * Single equations (assignments): 393 * 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.001088/16.36, allocations: 216.7 kB / 6.095 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00911/16.37, allocations: 4.084 MB / 6.099 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/16.37, allocations: 0.489 MB / 6.099 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009121/16.38, allocations: 4.499 MB / 6.104 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/16.38, allocations: 34.84 kB / 6.104 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/16.38, allocations: 7.672 kB / 6.104 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005301/16.38, allocations: 3.772 MB / 6.107 GB, free: 100.1 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.02072/16.4, allocations: 11.13 MB / 6.118 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/16.4, allocations: 6.844 kB / 6.118 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003116/16.41, allocations: 0.7431 MB / 6.119 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/16.41, allocations: 156.9 kB / 6.119 GB, free: 99.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/16.41, allocations: 49.06 kB / 6.119 GB, free: 99.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/16.41, allocations: 3.261 MB / 6.122 GB, free: 96.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/16.41, allocations: 6.562 kB / 6.122 GB, free: 96.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/16.42, allocations: 7.567 MB / 6.13 GB, free: 95.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003982/16.43, allocations: 1.221 MB / 6.131 GB, free: 95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/16.43, allocations: 37.72 kB / 6.131 GB, free: 95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/16.43, allocations: 461.1 kB / 6.131 GB, free: 94.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/16.43, allocations: 200.7 kB / 6.132 GB, free: 94.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/16.43, allocations: 118 kB / 6.132 GB, free: 94.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005275/16.44, allocations: 3.226 MB / 6.135 GB, free: 94.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/16.44, allocations: 0 / 6.135 GB, free: 94.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01512/16.45, allocations: 2.958 MB / 6.138 GB, free: 94.8 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 (318): * Single equations (assignments): 310 * 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.01544/16.47, allocations: 12.2 MB / 6.15 GB, free: 91.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01019/16.48, allocations: 6.967 MB / 6.157 GB, free: 90.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/16.48, allocations: 0.7812 kB / 6.157 GB, free: 90.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002875/16.48, allocations: 2.184 MB / 6.159 GB, free: 90.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/16.5, allocations: 2.936 MB / 6.162 GB, free: 90.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/16.53, allocations: 13.39 MB / 6.175 GB, free: 88 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004455/16.53, allocations: 4.693 MB / 6.179 GB, free: 87.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01394/16.54, allocations: 4.4 MB / 6.183 GB, free: 87.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004837/16.55, allocations: 2.487 MB / 6.186 GB, free: 87.09 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/16.55, allocations: 0 / 6.186 GB, free: 87.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2556/16.8, allocations: 177.3 MB / 6.359 GB, free: 22 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/16.8, allocations: 194.7 kB / 6.359 GB, free: 21.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.812/25.62, allocations: 5.203 kB / 6.359 GB, free: 21.77 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)