Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.5 MB / 257 MB, free: 6.914 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.001104/0.001104, allocations: 183.4 kB / 316.3 MB, free: 3.199 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.526/1.526, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009107/0.0009109, allocations: 90.28 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.088e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.936/7.143, allocations: 2.504 GB / 3.389 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/7.144, allocations: 89.08 kB / 3.389 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.056/15.2, allocations: 2.231 GB / 5.62 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.724e-06/15.2, allocations: 0 / 5.62 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001147/15.2, allocations: 151.9 kB / 5.62 GB, free: 11.95 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.02081/15.22, allocations: 5.665 MB / 5.626 GB, free: 6.223 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/15.22, allocations: 12.03 kB / 5.626 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009763/15.23, allocations: 1.331 MB / 5.627 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7798/16.01, allocations: 7.051 MB / 5.634 GB, free: 94.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/16.01, allocations: 133.7 kB / 5.634 GB, free: 94.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/16.01, allocations: 269 kB / 5.635 GB, free: 94.59 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01198/16.02, allocations: 4.625 MB / 5.639 GB, free: 94.57 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/16.04, allocations: 5.172 MB / 5.644 GB, free: 94.12 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/16.04, allocations: 16.8 kB / 5.644 GB, free: 94.12 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005039/16.04, allocations: 7.016 kB / 5.644 GB, free: 94.12 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/16.04, allocations: 199.3 kB / 5.644 GB, free: 94.11 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.04305/16.08, allocations: 24.75 MB / 5.669 GB, free: 84.35 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/16.09, allocations: 5.043 MB / 5.673 GB, free: 82.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/16.09, allocations: 2.053 MB / 5.675 GB, free: 82.66 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009267/16.09, allocations: 0.917 MB / 5.676 GB, free: 81.72 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003267/16.1, allocations: 1.873 MB / 5.678 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=284): time 6.091e-06/16.1, allocations: 1.875 kB / 5.678 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=288): time 0.02679/16.12, allocations: 9.537 MB / 5.687 GB, free: 78.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/16.12, allocations: 292.1 kB / 5.688 GB, free: 78.65 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007187/16.13, allocations: 3.902 MB / 5.692 GB, free: 78.38 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/16.13, allocations: 29.55 kB / 5.692 GB, free: 78.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/16.13, allocations: 2.483 MB / 5.694 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001572/16.13, allocations: 0.9633 MB / 5.695 GB, free: 77.26 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/16.13, allocations: 0 / 5.695 GB, free: 77.26 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001825/16.14, allocations: 438.9 kB / 5.695 GB, free: 76.95 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/16.14, allocations: 1.408 MB / 5.697 GB, free: 76.94 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/16.14, allocations: 2.272 MB / 5.699 GB, free: 76.09 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/16.14, allocations: 1.928 MB / 5.701 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/16.14, allocations: 3.75 kB / 5.701 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.007427/16.15, allocations: 4.212 MB / 5.705 GB, free: 75.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/16.15, allocations: 5.885 MB / 5.711 GB, free: 69.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/16.15, allocations: 18.48 kB / 5.711 GB, free: 69.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/16.15, allocations: 195.5 kB / 5.711 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/16.15, allocations: 0.6704 MB / 5.712 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/16.16, allocations: 3.375 MB / 5.715 GB, free: 67.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/16.16, allocations: 490.9 kB / 5.715 GB, free: 67.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005566/16.16, allocations: 135.1 kB / 5.715 GB, free: 67.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/16.16, allocations: 3.219 kB / 5.715 GB, free: 67.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00605/16.17, allocations: 3.708 MB / 5.719 GB, free: 66.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/16.17, allocations: 16.12 kB / 5.719 GB, free: 66.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005145/16.17, allocations: 195.6 kB / 5.719 GB, free: 66.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/16.17, allocations: 0.6589 MB / 5.72 GB, free: 66.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/16.18, allocations: 3.919 MB / 5.724 GB, free: 64.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/16.18, allocations: 480.8 kB / 5.724 GB, free: 64.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007781/16.18, allocations: 125.7 kB / 5.724 GB, free: 64.33 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.001108/16.19, allocations: 209 kB / 5.725 GB, free: 64.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006729/16.19, allocations: 3.54 MB / 5.728 GB, free: 63.81 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/16.19, allocations: 461.8 kB / 5.728 GB, free: 63.58 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/16.2, allocations: 3.878 MB / 5.732 GB, free: 63.36 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/16.2, allocations: 32.31 kB / 5.732 GB, free: 63.36 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/16.2, allocations: 3.562 kB / 5.732 GB, free: 63.36 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004508/16.2, allocations: 3.25 MB / 5.735 GB, free: 63.09 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.02284/16.23, allocations: 9.845 MB / 5.745 GB, free: 62.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/16.23, allocations: 3.969 kB / 5.745 GB, free: 62.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/16.23, allocations: 0.6601 MB / 5.746 GB, free: 62.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/16.23, allocations: 153.1 kB / 5.746 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/16.23, allocations: 49.28 kB / 5.746 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/16.23, allocations: 3.258 MB / 5.749 GB, free: 59.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/16.23, allocations: 7.219 kB / 5.749 GB, free: 59.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/16.25, allocations: 6.571 MB / 5.755 GB, free: 58.39 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005617/16.25, allocations: 1.119 MB / 5.757 GB, free: 58.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00179/16.25, allocations: 28.09 kB / 5.757 GB, free: 58.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005491/16.26, allocations: 420.2 kB / 5.757 GB, free: 58.05 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/16.26, allocations: 181 kB / 5.757 GB, free: 58.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/16.26, allocations: 117.1 kB / 5.757 GB, free: 58.04 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.005252/16.26, allocations: 3.02 MB / 5.76 GB, free: 57.86 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/16.26, allocations: 2.906 kB / 5.76 GB, free: 57.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01664/16.28, allocations: 2.781 MB / 5.763 GB, free: 57.86 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.01642/16.3, allocations: 11.14 MB / 5.774 GB, free: 54.28 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01029/16.31, allocations: 6.099 MB / 5.78 GB, free: 53.68 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/16.31, allocations: 4.469 kB / 5.78 GB, free: 53.68 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/16.31, allocations: 1.897 MB / 5.782 GB, free: 53.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01517/16.33, allocations: 2.814 MB / 5.784 GB, free: 53.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/16.35, allocations: 12.07 MB / 5.796 GB, free: 51.27 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005898/16.36, allocations: 4.252 MB / 5.8 GB, free: 66.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01287/16.37, allocations: 3.96 MB / 5.804 GB, free: 66.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00434/16.38, allocations: 2.242 MB / 5.806 GB, free: 66.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/16.38, allocations: 0 / 5.806 GB, free: 66.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/16.64, allocations: 166.5 MB / 5.969 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/16.64, allocations: 194.7 kB / 5.969 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/24.43, allocations: 0 / 5.969 GB, free: 11.71 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)