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.495/1.495, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001127/0.001127, allocations: 176.8 kB / 321.3 MB, free: 14.66 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.607/1.607, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009096/0.0009098, allocations: 90.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.353e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.932/7.143, allocations: 2.504 GB / 3.396 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/7.143, allocations: 96.52 kB / 3.396 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.99/17.13, allocations: 2.25 GB / 5.646 GB, free: 105.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.354e-06/17.13, allocations: 3.375 kB / 5.646 GB, free: 105.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001572/17.13, allocations: 152.2 kB / 5.646 GB, free: 105.6 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.03018/17.17, allocations: 5.66 MB / 5.651 GB, free: 103.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/17.17, allocations: 8.562 kB / 5.651 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003912/17.17, allocations: 0.5863 MB / 5.652 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/17.18, allocations: 1.339 MB / 5.653 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02692/17.21, allocations: 7.057 MB / 5.66 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007419/17.21, allocations: 326.2 kB / 5.66 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/17.21, allocations: 447.8 kB / 5.661 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/17.23, allocations: 5.793 MB / 5.666 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/17.23, allocations: 17.94 kB / 5.666 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007883/17.23, allocations: 179.5 kB / 5.667 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/17.23, allocations: 197.4 kB / 5.667 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/17.25, allocations: 4.972 MB / 5.672 GB, free: 102.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 preOpt removeSimpleEquations (simulation): time 0.057/17.3, allocations: 25.51 MB / 5.697 GB, free: 91.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/17.31, allocations: 4.131 MB / 5.701 GB, free: 91.19 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/17.31, allocations: 2.154 MB / 5.703 GB, free: 91.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/17.31, allocations: 0.9114 MB / 5.704 GB, free: 90.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003145/17.32, allocations: 1.862 MB / 5.705 GB, free: 90.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 6.171e-06/17.32, allocations: 0 / 5.705 GB, free: 90.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.02353/17.34, allocations: 8.37 MB / 5.714 GB, free: 88.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/17.34, allocations: 239 kB / 5.714 GB, free: 88.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00947/17.35, allocations: 4.201 MB / 5.718 GB, free: 87.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/17.35, allocations: 87.98 kB / 5.718 GB, free: 87.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003413/17.35, allocations: 2.479 MB / 5.72 GB, free: 87.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002084/17.36, allocations: 0.9991 MB / 5.721 GB, free: 86.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/17.36, allocations: 60.03 kB / 5.721 GB, free: 86.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002629/17.36, allocations: 423.7 kB / 5.722 GB, free: 86.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/17.36, allocations: 1.485 MB / 5.723 GB, free: 86.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/17.36, allocations: 2.347 MB / 5.726 GB, free: 85.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/17.37, allocations: 1.965 MB / 5.728 GB, free: 85.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/17.37, allocations: 3.688 kB / 5.728 GB, free: 85.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.008714/17.37, allocations: 4.43 MB / 5.732 GB, free: 84.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001622/17.38, allocations: 5.713 MB / 5.737 GB, free: 78.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/17.38, allocations: 16.38 kB / 5.737 GB, free: 78.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/17.38, allocations: 212.2 kB / 5.738 GB, free: 78.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/17.38, allocations: 0.673 MB / 5.738 GB, free: 78.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/17.38, allocations: 3.41 MB / 5.742 GB, free: 76.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00787/17.39, allocations: 0.5515 MB / 5.742 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008742/17.39, allocations: 121.9 kB / 5.742 GB, free: 76.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/17.39, allocations: 3.562 kB / 5.742 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008808/17.4, allocations: 4.007 MB / 5.746 GB, free: 76.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-05/17.4, allocations: 16.88 kB / 5.746 GB, free: 76.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/17.4, allocations: 207.3 kB / 5.746 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/17.4, allocations: 0.6566 MB / 5.747 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/17.41, allocations: 4.052 MB / 5.751 GB, free: 73.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007746/17.42, allocations: 0.5387 MB / 5.752 GB, free: 73.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009606/17.42, allocations: 121.9 kB / 5.752 GB, free: 73.4 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.00206/17.42, allocations: 323.2 kB / 5.752 GB, free: 73.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/17.42, allocations: 473.7 kB / 5.752 GB, free: 73.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/17.43, allocations: 4.167 MB / 5.757 GB, free: 72.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/17.43, allocations: 32.27 kB / 5.757 GB, free: 72.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/17.43, allocations: 0 / 5.757 GB, free: 72.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006231/17.44, allocations: 3.449 MB / 5.76 GB, free: 72.46 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.0284/17.47, allocations: 10.44 MB / 5.77 GB, free: 71.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/17.47, allocations: 5.594 kB / 5.77 GB, free: 71.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/17.47, allocations: 0.6687 MB / 5.771 GB, free: 71.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/17.47, allocations: 157.3 kB / 5.771 GB, free: 71.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/17.47, allocations: 87.91 kB / 5.771 GB, free: 71.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/17.48, allocations: 3.323 MB / 5.774 GB, free: 69.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/17.48, allocations: 5.656 kB / 5.774 GB, free: 69.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/17.49, allocations: 6.864 MB / 5.781 GB, free: 67.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005396/17.49, allocations: 1.133 MB / 5.782 GB, free: 67.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002505/17.5, allocations: 78.98 kB / 5.782 GB, free: 67.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006637/17.5, allocations: 474.5 kB / 5.783 GB, free: 67.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000773/17.5, allocations: 176.7 kB / 5.783 GB, free: 67.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000689/17.5, allocations: 114.3 kB / 5.783 GB, free: 67.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008741/17.51, allocations: 3.3 MB / 5.786 GB, free: 67.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.32e-07/17.51, allocations: 3.844 kB / 5.786 GB, free: 67.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02051/17.53, allocations: 2.985 MB / 5.789 GB, free: 67.13 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.02142/17.55, allocations: 11.2 MB / 5.8 GB, free: 63.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01458/17.57, allocations: 6.414 MB / 5.806 GB, free: 62.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-05/17.57, allocations: 7.25 kB / 5.806 GB, free: 62.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/17.57, allocations: 1.986 MB / 5.808 GB, free: 62.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01824/17.59, allocations: 2.95 MB / 5.811 GB, free: 62.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/17.63, allocations: 12.33 MB / 5.823 GB, free: 60.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/17.63, allocations: 4.251 MB / 5.827 GB, free: 59.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01459/17.65, allocations: 3.983 MB / 5.831 GB, free: 59.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004948/17.65, allocations: 2.244 MB / 5.833 GB, free: 59.33 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/17.65, allocations: 0 / 5.833 GB, free: 59.33 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/18.78, allocations: 202.9 MB / 6.031 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/18.78, allocations: 238.9 kB / 6.032 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/27.55, allocations: 0 / 6.032 GB, free: 114.8 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)