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.588/1.588, allocations: 285.4 MB / 298 MB, free: 5.977 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.001107/0.001107, allocations: 184.8 kB / 366.4 MB, free: 2.07 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.628/1.628, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0009078/0.0009078, allocations: 96.81 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.905e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7311, allocations: 115.3 MB / 0.971 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.161/6.892, allocations: 2.387 GB / 3.358 GB, free: 63.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/6.892, allocations: 91.27 kB / 3.358 GB, free: 63.31 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.33/17.23, allocations: 2.313 GB / 5.671 GB, free: 110.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.785e-06/17.23, allocations: 3.406 kB / 5.671 GB, free: 110.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001443/17.23, allocations: 152.5 kB / 5.671 GB, free: 110.2 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.02783/17.25, allocations: 5.656 MB / 5.676 GB, free: 108.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/17.25, allocations: 14.92 kB / 5.676 GB, free: 108.8 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002972/17.26, allocations: 0.5739 MB / 5.677 GB, free: 108.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/17.27, allocations: 1.334 MB / 5.678 GB, free: 108.4 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02482/17.29, allocations: 7.031 MB / 5.685 GB, free: 107.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005129/17.29, allocations: 328.7 kB / 5.686 GB, free: 107.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002365/17.3, allocations: 442.4 kB / 5.686 GB, free: 107.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/17.31, allocations: 5.764 MB / 5.692 GB, free: 107.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/17.31, allocations: 7 kB / 5.692 GB, free: 107.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006386/17.31, allocations: 176.4 kB / 5.692 GB, free: 107.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/17.31, allocations: 202.4 kB / 5.692 GB, free: 107.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/17.32, allocations: 4.942 MB / 5.697 GB, free: 107.2 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 preOpt removeSimpleEquations (simulation): time 0.0462/17.37, allocations: 25.47 MB / 5.722 GB, free: 96.91 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007588/17.38, allocations: 4.323 MB / 5.726 GB, free: 96.09 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/17.38, allocations: 2.158 MB / 5.728 GB, free: 96.06 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/17.38, allocations: 0.9123 MB / 5.729 GB, free: 95.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003834/17.39, allocations: 1.859 MB / 5.731 GB, free: 94.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 6.813e-06/17.39, allocations: 0 / 5.731 GB, free: 94.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.02536/17.41, allocations: 8.406 MB / 5.739 GB, free: 93.35 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/17.41, allocations: 240.3 kB / 5.739 GB, free: 93.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/17.42, allocations: 4.176 MB / 5.743 GB, free: 92.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001484/17.43, allocations: 95.45 kB / 5.743 GB, free: 92.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004221/17.43, allocations: 2.44 MB / 5.746 GB, free: 91.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002357/17.43, allocations: 0.9982 MB / 5.747 GB, free: 91.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/17.43, allocations: 55.97 kB / 5.747 GB, free: 91.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002759/17.43, allocations: 427.7 kB / 5.747 GB, free: 91.03 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/17.44, allocations: 1.49 MB / 5.749 GB, free: 91.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003803/17.44, allocations: 2.366 MB / 5.751 GB, free: 90.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/17.44, allocations: 1.973 MB / 5.753 GB, free: 90.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/17.44, allocations: 7.109 kB / 5.753 GB, free: 90.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01038/17.45, allocations: 4.455 MB / 5.757 GB, free: 89.68 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001568/17.46, allocations: 5.717 MB / 5.763 GB, free: 83.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/17.46, allocations: 18.53 kB / 5.763 GB, free: 83.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/17.46, allocations: 202.6 kB / 5.763 GB, free: 83.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/17.46, allocations: 0.6663 MB / 5.764 GB, free: 83.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/17.46, allocations: 3.405 MB / 5.767 GB, free: 81.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007944/17.47, allocations: 0.5513 MB / 5.767 GB, free: 81.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009482/17.47, allocations: 126.2 kB / 5.768 GB, free: 81.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/17.47, allocations: 5.969 kB / 5.768 GB, free: 81.25 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007952/17.48, allocations: 4.028 MB / 5.772 GB, free: 81.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.794e-05/17.48, allocations: 15.47 kB / 5.772 GB, free: 81.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/17.48, allocations: 207 kB / 5.772 GB, free: 81.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/17.48, allocations: 0.6539 MB / 5.772 GB, free: 81.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/17.49, allocations: 4.061 MB / 5.776 GB, free: 78.35 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007799/17.5, allocations: 0.5384 MB / 5.777 GB, free: 78.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009266/17.5, allocations: 123.3 kB / 5.777 GB, free: 78.31 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 () * 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.001287/17.5, allocations: 322.9 kB / 5.777 GB, free: 78.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/17.5, allocations: 465.4 kB / 5.778 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/17.51, allocations: 4.191 MB / 5.782 GB, free: 77.68 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/17.51, allocations: 28.3 kB / 5.782 GB, free: 77.68 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/17.51, allocations: 4.375 kB / 5.782 GB, free: 77.68 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006076/17.51, allocations: 3.475 MB / 5.785 GB, free: 77.38 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.02788/17.54, allocations: 10.61 MB / 5.796 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/17.54, allocations: 3.531 kB / 5.796 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/17.55, allocations: 0.6658 MB / 5.796 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/17.55, allocations: 159.8 kB / 5.796 GB, free: 76.35 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/17.55, allocations: 94.88 kB / 5.796 GB, free: 76.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/17.55, allocations: 3.316 MB / 5.8 GB, free: 73.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/17.55, allocations: 6.531 kB / 5.8 GB, free: 73.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/17.56, allocations: 6.885 MB / 5.806 GB, free: 72.56 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005037/17.56, allocations: 1.11 MB / 5.808 GB, free: 72.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/17.57, allocations: 78.14 kB / 5.808 GB, free: 72.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006262/17.57, allocations: 470.7 kB / 5.808 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005941/17.57, allocations: 184.3 kB / 5.808 GB, free: 72.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/17.57, allocations: 108.8 kB / 5.808 GB, free: 72.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.007267/17.58, allocations: 3.279 MB / 5.812 GB, free: 71.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.31e-07/17.58, allocations: 3.781 kB / 5.812 GB, free: 71.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02091/17.6, allocations: 2.978 MB / 5.814 GB, free: 71.91 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.0175/17.62, allocations: 11.21 MB / 5.825 GB, free: 68.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0118/17.63, allocations: 6.456 MB / 5.832 GB, free: 67.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/17.63, allocations: 4.875 kB / 5.832 GB, free: 67.58 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/17.63, allocations: 2 MB / 5.834 GB, free: 67.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01761/17.65, allocations: 2.944 MB / 5.837 GB, free: 67.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/17.69, allocations: 12.28 MB / 5.849 GB, free: 65.05 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005551/17.69, allocations: 4.223 MB / 5.853 GB, free: 64.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01619/17.71, allocations: 3.981 MB / 5.857 GB, free: 64.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005633/17.71, allocations: 2.239 MB / 5.859 GB, free: 64.15 MB / 1.01 GB Notification: Performance of SimCode: time 1.753e-06/17.71, allocations: 0 / 5.859 GB, free: 64.15 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/18.85, allocations: 202.8 MB / 6.057 GB, free: 110.9 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/18.85, allocations: 247.3 kB / 6.057 GB, free: 110.5 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/28.53, allocations: 0 / 6.057 GB, free: 110.5 MB / 1.042 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)