Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.6/1.6, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001076/0.001076, allocations: 176.8 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009017/0.0009016, allocations: 94.92 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.833e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7921/0.7922, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.464/7.257, allocations: 2.386 GB / 3.351 GB, free: 136.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/7.257, allocations: 100.1 kB / 3.351 GB, free: 136.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.548/16.81, allocations: 2.294 GB / 5.645 GB, free: 63.26 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.617e-06/16.81, allocations: 0 / 5.645 GB, free: 63.26 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001472/16.81, allocations: 154.2 kB / 5.645 GB, free: 63.11 MB / 0.9948 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.02488/16.83, allocations: 5.654 MB / 5.65 GB, free: 57.39 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/16.83, allocations: 12.03 kB / 5.65 GB, free: 57.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/16.84, allocations: 1.32 MB / 5.652 GB, free: 56.05 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02218/16.86, allocations: 7.042 MB / 5.658 GB, free: 48.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/16.87, allocations: 132 kB / 5.659 GB, free: 48.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/16.87, allocations: 259.9 kB / 5.659 GB, free: 48.56 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01395/16.88, allocations: 4.596 MB / 5.663 GB, free: 43.96 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/16.9, allocations: 5.157 MB / 5.668 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/16.9, allocations: 4 kB / 5.668 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005976/16.9, allocations: 8 kB / 5.668 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/16.9, allocations: 204.1 kB / 5.669 GB, free: 38.43 MB / 0.9948 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.03701/16.94, allocations: 24.71 MB / 5.693 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005164/16.94, allocations: 5.216 MB / 5.698 GB, free: 6.742 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/16.95, allocations: 2.068 MB / 5.7 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009936/16.95, allocations: 0.9113 MB / 5.701 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0026/16.95, allocations: 1.888 MB / 5.703 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=284): time 5.29e-06/16.95, allocations: 0 / 5.703 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of matching and sorting (n=288): time 0.02829/16.98, allocations: 9.562 MB / 5.712 GB, free: 7.875 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/16.98, allocations: 287.2 kB / 5.712 GB, free: 7.531 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007311/16.98, allocations: 3.871 MB / 5.716 GB, free: 3.656 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/16.99, allocations: 33.7 kB / 5.716 GB, free: 3.617 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003524/16.99, allocations: 2.467 MB / 5.718 GB, free: 1.117 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002192/16.99, allocations: 0.9662 MB / 5.719 GB, free: 140 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/16.99, allocations: 3.938 kB / 5.719 GB, free: 136 kB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.9125/17.9, allocations: 428.1 kB / 5.72 GB, free: 124.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/17.91, allocations: 1.418 MB / 5.721 GB, free: 124.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/17.91, allocations: 2.282 MB / 5.723 GB, free: 124 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/17.92, allocations: 1.935 MB / 5.725 GB, free: 124 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/17.92, allocations: 2.594 kB / 5.725 GB, free: 124 MB / 1.01 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01079/17.93, allocations: 4.229 MB / 5.729 GB, free: 123.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001526/17.93, allocations: 5.892 MB / 5.735 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-05/17.93, allocations: 15.77 kB / 5.735 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007218/17.93, allocations: 193.5 kB / 5.735 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/17.93, allocations: 0.6736 MB / 5.736 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/17.94, allocations: 3.371 MB / 5.739 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007704/17.95, allocations: 493.2 kB / 5.74 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/17.95, allocations: 125.6 kB / 5.74 GB, free: 115.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/17.95, allocations: 2.25 kB / 5.74 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007367/17.95, allocations: 3.726 MB / 5.743 GB, free: 115.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/17.95, allocations: 20.56 kB / 5.743 GB, free: 115.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/17.96, allocations: 200.3 kB / 5.744 GB, free: 115.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/17.96, allocations: 0.6576 MB / 5.744 GB, free: 115.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/17.96, allocations: 3.919 MB / 5.748 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007123/17.97, allocations: 481.3 kB / 5.749 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009694/17.97, allocations: 121 kB / 5.749 GB, free: 112.6 MB / 1.01 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.00121/17.97, allocations: 216.7 kB / 5.749 GB, free: 112.5 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007728/17.98, allocations: 3.546 MB / 5.752 GB, free: 112.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002051/17.98, allocations: 466.3 kB / 5.753 GB, free: 112.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/17.99, allocations: 3.895 MB / 5.757 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/17.99, allocations: 37.25 kB / 5.757 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/17.99, allocations: 3.719 kB / 5.757 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005333/18, allocations: 3.285 MB / 5.76 GB, free: 111.8 MB / 1.01 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.02361/18.02, allocations: 10 MB / 5.77 GB, free: 110.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/18.02, allocations: 3.812 kB / 5.77 GB, free: 110.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/18.02, allocations: 0.6608 MB / 5.77 GB, free: 110.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005612/18.02, allocations: 155.5 kB / 5.77 GB, free: 110.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/18.02, allocations: 52.42 kB / 5.771 GB, free: 110.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/18.03, allocations: 3.253 MB / 5.774 GB, free: 108.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/18.03, allocations: 11.95 kB / 5.774 GB, free: 108.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/18.04, allocations: 6.598 MB / 5.78 GB, free: 107 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004692/18.04, allocations: 1.089 MB / 5.781 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/18.05, allocations: 29.05 kB / 5.781 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005885/18.05, allocations: 424.1 kB / 5.782 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/18.05, allocations: 183.7 kB / 5.782 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003854/18.05, allocations: 111.9 kB / 5.782 GB, free: 106.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.007805/18.06, allocations: 2.998 MB / 5.785 GB, free: 106.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.61e-07/18.06, allocations: 0 / 5.785 GB, free: 106.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0207/18.08, allocations: 2.772 MB / 5.788 GB, free: 106.5 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) * 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.02186/18.1, allocations: 11.16 MB / 5.798 GB, free: 102.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01313/18.12, allocations: 6.131 MB / 5.804 GB, free: 102.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.333e-05/18.12, allocations: 3.719 kB / 5.804 GB, free: 102.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003754/18.12, allocations: 1.901 MB / 5.806 GB, free: 102.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0176/18.14, allocations: 2.819 MB / 5.809 GB, free: 102.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/18.17, allocations: 12.01 MB / 5.821 GB, free: 99.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004837/18.17, allocations: 4.222 MB / 5.825 GB, free: 99.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01472/18.19, allocations: 4.004 MB / 5.829 GB, free: 99.02 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004948/18.19, allocations: 2.229 MB / 5.831 GB, free: 99.01 MB / 1.01 GB Notification: Performance of SimCode: time 1.743e-06/18.19, allocations: 1.281 kB / 5.831 GB, free: 99.01 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2824/18.47, allocations: 166.5 MB / 5.994 GB, free: 66.17 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/18.47, allocations: 202.6 kB / 5.994 GB, free: 65.92 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/26.5, allocations: 0 / 5.994 GB, free: 65.92 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)