Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.511/2.511, allocations: 287.3 MB / 302.3 MB, free: 8.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 179 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 94.09 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006564/0.0006563, allocations: 13.58 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2256, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.653/7.879, allocations: 2.387 GB / 3.365 GB, free: 241 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/7.879, allocations: 98.39 kB / 3.365 GB, free: 240.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.2/20.08, allocations: 2.317 GB / 5.682 GB, free: 129 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.605e-06/20.08, allocations: 0 / 5.682 GB, free: 129 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001413/20.08, allocations: 151.5 kB / 5.682 GB, free: 129 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.03351/20.12, allocations: 6.881 MB / 5.689 GB, free: 126.1 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/20.12, allocations: 11.34 kB / 5.689 GB, free: 126.1 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003218/20.12, allocations: 0.5886 MB / 5.689 GB, free: 126.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/20.13, allocations: 1.33 MB / 5.691 GB, free: 125.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02653/20.16, allocations: 7.074 MB / 5.698 GB, free: 124.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006006/20.16, allocations: 326.9 kB / 5.698 GB, free: 124.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002439/20.16, allocations: 443.4 kB / 5.698 GB, free: 124.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/20.19, allocations: 5.871 MB / 5.704 GB, free: 124.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003555/20.19, allocations: 17.81 kB / 5.704 GB, free: 124.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/20.19, allocations: 173 kB / 5.704 GB, free: 124.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003391/20.19, allocations: 206.8 kB / 5.704 GB, free: 124.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/20.21, allocations: 5.106 MB / 5.709 GB, free: 124.1 MB / 1.01 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.0622/20.27, allocations: 25.47 MB / 5.734 GB, free: 109.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/20.28, allocations: 4.411 MB / 5.739 GB, free: 106.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/20.28, allocations: 0.9078 MB / 5.74 GB, free: 105.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006519/20.29, allocations: 1.907 MB / 5.741 GB, free: 105.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 7.294e-06/20.29, allocations: 3.906 kB / 5.741 GB, free: 105.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.04023/20.33, allocations: 10.23 MB / 5.751 GB, free: 100.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/20.33, allocations: 241.7 kB / 5.752 GB, free: 100.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/20.34, allocations: 4.228 MB / 5.756 GB, free: 98.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/20.34, allocations: 90.17 kB / 5.756 GB, free: 98.74 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004401/20.35, allocations: 2.45 MB / 5.758 GB, free: 96.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/20.35, allocations: 0.9929 MB / 5.759 GB, free: 96.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/20.35, allocations: 60.59 kB / 5.759 GB, free: 96.07 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003598/20.35, allocations: 433 kB / 5.76 GB, free: 95.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/20.36, allocations: 1.544 MB / 5.761 GB, free: 95.17 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/20.36, allocations: 2.427 MB / 5.764 GB, free: 93.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005924/20.37, allocations: 2.016 MB / 5.766 GB, free: 92.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/20.37, allocations: 6.812 kB / 5.766 GB, free: 92.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01569/20.38, allocations: 4.571 MB / 5.77 GB, free: 89.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/20.39, allocations: 5.724 MB / 5.776 GB, free: 83.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.639e-05/20.39, allocations: 12 kB / 5.776 GB, free: 83.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/20.39, allocations: 210.2 kB / 5.776 GB, free: 83.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/20.39, allocations: 0.6668 MB / 5.776 GB, free: 82.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/20.4, allocations: 3.451 MB / 5.78 GB, free: 79.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009814/20.41, allocations: 0.5473 MB / 5.78 GB, free: 79.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009656/20.41, allocations: 123.5 kB / 5.78 GB, free: 78.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/20.41, allocations: 8.812 kB / 5.78 GB, free: 78.9 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/20.42, allocations: 4.139 MB / 5.785 GB, free: 75.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/20.42, allocations: 18.75 kB / 5.785 GB, free: 75.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/20.42, allocations: 204.7 kB / 5.785 GB, free: 75.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005722/20.43, allocations: 0.6639 MB / 5.785 GB, free: 74.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/20.43, allocations: 4.118 MB / 5.789 GB, free: 70.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009674/20.44, allocations: 0.5336 MB / 5.79 GB, free: 70.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009842/20.44, allocations: 119.6 kB / 5.79 GB, free: 69.91 MB / 1.01 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.006616/20.45, allocations: 2.177 MB / 5.792 GB, free: 68.08 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002147/20.45, allocations: 466.4 kB / 5.793 GB, free: 67.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/20.47, allocations: 4.296 MB / 5.797 GB, free: 63.95 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/20.47, allocations: 28 kB / 5.797 GB, free: 63.92 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/20.47, allocations: 0 / 5.797 GB, free: 63.92 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01152/20.48, allocations: 3.581 MB / 5.8 GB, free: 60.74 MB / 1.01 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.03413/20.51, allocations: 10.71 MB / 5.811 GB, free: 50.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/20.51, allocations: 4 kB / 5.811 GB, free: 50.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006157/20.52, allocations: 0.6588 MB / 5.811 GB, free: 49.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008551/20.52, allocations: 169.4 kB / 5.812 GB, free: 49.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009365/20.52, allocations: 91.95 kB / 5.812 GB, free: 49.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/20.53, allocations: 3.353 MB / 5.815 GB, free: 45.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/20.53, allocations: 11.95 kB / 5.815 GB, free: 45.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/20.54, allocations: 7.039 MB / 5.822 GB, free: 38.35 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005075/20.55, allocations: 1.112 MB / 5.823 GB, free: 37.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/20.55, allocations: 71.98 kB / 5.823 GB, free: 37.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008622/20.56, allocations: 471 kB / 5.823 GB, free: 36.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/20.56, allocations: 184.8 kB / 5.824 GB, free: 36.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006841/20.56, allocations: 115.9 kB / 5.824 GB, free: 36.39 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009708/20.57, allocations: 3.327 MB / 5.827 GB, free: 33.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.082e-06/20.57, allocations: 0 / 5.827 GB, free: 33.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02453/20.6, allocations: 2.979 MB / 5.83 GB, free: 30.09 MB / 1.01 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.0385/20.63, allocations: 11.37 MB / 5.841 GB, free: 18.71 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02759/20.66, allocations: 6.463 MB / 5.847 GB, free: 12.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.16e-05/20.66, allocations: 5.344 kB / 5.847 GB, free: 12.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008726/20.67, allocations: 2.06 MB / 5.849 GB, free: 10.05 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03867/20.71, allocations: 2.947 MB / 5.852 GB, free: 7.234 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9078/21.62, allocations: 31.19 MB / 5.883 GB, free: 133.1 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/21.63, allocations: 4.214 MB / 5.887 GB, free: 132.3 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01681/21.64, allocations: 2.404 MB / 5.889 GB, free: 132.3 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007828/21.65, allocations: 2.315 MB / 5.891 GB, free: 132.3 MB / 1.026 GB Notification: Performance of SimCode: time 1.523e-06/21.65, allocations: 0 / 5.891 GB, free: 132.3 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.464/22.12, allocations: 187.8 MB / 6.075 GB, free: 115.2 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/22.12, allocations: 269.7 kB / 6.075 GB, free: 114.9 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/32.98, allocations: 3.938 kB / 6.075 GB, free: 114.9 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)