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.384/1.384, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 188.8 kB / 326.5 MB, free: 2.234 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.894/1.894, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001046/0.001046, allocations: 86 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 9.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.522/5.755, allocations: 2.504 GB / 3.404 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/5.756, allocations: 98.55 kB / 3.404 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.663/14.42, allocations: 2.254 GB / 5.658 GB, free: 92.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/14.42, allocations: 0 / 5.658 GB, free: 92.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001332/14.42, allocations: 157.7 kB / 5.658 GB, free: 92.89 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.02795/14.45, allocations: 6.904 MB / 5.665 GB, free: 90.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/14.45, allocations: 11.5 kB / 5.665 GB, free: 90.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00378/14.45, allocations: 0.5898 MB / 5.665 GB, free: 90.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/14.46, allocations: 1.333 MB / 5.667 GB, free: 89.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/14.49, allocations: 7.11 MB / 5.674 GB, free: 88.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005306/14.49, allocations: 327.8 kB / 5.674 GB, free: 88.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/14.49, allocations: 452.9 kB / 5.674 GB, free: 88.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/14.51, allocations: 5.895 MB / 5.68 GB, free: 88.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/14.51, allocations: 11.53 kB / 5.68 GB, free: 88.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009939/14.51, allocations: 175.2 kB / 5.68 GB, free: 88.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002486/14.51, allocations: 201 kB / 5.681 GB, free: 88.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/14.52, allocations: 5.137 MB / 5.686 GB, free: 88.41 MB / 0.948 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.04532/14.56, allocations: 25.5 MB / 5.71 GB, free: 78.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007697/14.57, allocations: 4.226 MB / 5.715 GB, free: 77.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/14.57, allocations: 0.9159 MB / 5.715 GB, free: 76.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00358/14.58, allocations: 1.914 MB / 5.717 GB, free: 76.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 5.391e-06/14.58, allocations: 0 / 5.717 GB, free: 76.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.02345/14.6, allocations: 10.18 MB / 5.727 GB, free: 74.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/14.6, allocations: 244.1 kB / 5.728 GB, free: 74.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/14.61, allocations: 4.255 MB / 5.732 GB, free: 74.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009377/14.61, allocations: 89.48 kB / 5.732 GB, free: 74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002723/14.61, allocations: 2.457 MB / 5.734 GB, free: 73.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001623/14.61, allocations: 1.002 MB / 5.735 GB, free: 72.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/14.61, allocations: 55.59 kB / 5.735 GB, free: 72.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001984/14.61, allocations: 436.3 kB / 5.736 GB, free: 72.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/14.62, allocations: 1.541 MB / 5.737 GB, free: 72.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/14.62, allocations: 2.409 MB / 5.739 GB, free: 71.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/14.62, allocations: 2.012 MB / 5.741 GB, free: 71.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/14.62, allocations: 3 kB / 5.741 GB, free: 71.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.008235/14.63, allocations: 4.553 MB / 5.746 GB, free: 70.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00143/14.63, allocations: 5.718 MB / 5.751 GB, free: 64.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.604e-05/14.63, allocations: 17.95 kB / 5.751 GB, free: 64.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/14.63, allocations: 209.2 kB / 5.752 GB, free: 64.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/14.64, allocations: 0.6603 MB / 5.752 GB, free: 64.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/14.64, allocations: 3.457 MB / 5.756 GB, free: 62.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00671/14.65, allocations: 0.554 MB / 5.756 GB, free: 62.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007316/14.65, allocations: 121.8 kB / 5.756 GB, free: 62.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/14.65, allocations: 4.844 kB / 5.756 GB, free: 62.46 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006734/14.65, allocations: 4.13 MB / 5.76 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/14.65, allocations: 13.66 kB / 5.76 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/14.65, allocations: 206 kB / 5.761 GB, free: 61.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/14.66, allocations: 0.6605 MB / 5.761 GB, free: 61.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/14.66, allocations: 4.111 MB / 5.765 GB, free: 58.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008089/14.67, allocations: 0.5329 MB / 5.766 GB, free: 57.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009532/14.67, allocations: 122.3 kB / 5.766 GB, free: 57.95 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 () * 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.00557/14.68, allocations: 2.188 MB / 5.768 GB, free: 56.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/14.68, allocations: 476.2 kB / 5.768 GB, free: 56.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007869/14.68, allocations: 4.275 MB / 5.773 GB, free: 54.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/14.68, allocations: 25.56 kB / 5.773 GB, free: 54.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/14.68, allocations: 3.969 kB / 5.773 GB, free: 54.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004994/14.69, allocations: 3.555 MB / 5.776 GB, free: 53.54 MB / 0.948 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.02744/14.72, allocations: 10.54 MB / 5.786 GB, free: 49.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/14.72, allocations: 7.469 kB / 5.786 GB, free: 49.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/14.72, allocations: 0.6655 MB / 5.787 GB, free: 49.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/14.72, allocations: 167.6 kB / 5.787 GB, free: 48.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005521/14.72, allocations: 84.73 kB / 5.787 GB, free: 48.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/14.72, allocations: 3.359 MB / 5.791 GB, free: 46.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/14.72, allocations: 7.922 kB / 5.791 GB, free: 46.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/14.74, allocations: 7.011 MB / 5.797 GB, free: 42.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004721/14.74, allocations: 1.136 MB / 5.799 GB, free: 41.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/14.74, allocations: 76.91 kB / 5.799 GB, free: 41.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006286/14.75, allocations: 476.3 kB / 5.799 GB, free: 41.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007619/14.75, allocations: 180 kB / 5.799 GB, free: 41.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006565/14.75, allocations: 110.5 kB / 5.799 GB, free: 41.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008327/14.76, allocations: 3.352 MB / 5.803 GB, free: 40.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.91e-07/14.76, allocations: 2.906 kB / 5.803 GB, free: 40.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01697/14.78, allocations: 2.99 MB / 5.806 GB, free: 39.79 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) * 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.01825/14.79, allocations: 11.36 MB / 5.817 GB, free: 29.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01291/14.81, allocations: 6.44 MB / 5.823 GB, free: 24.08 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/14.81, allocations: 4.938 kB / 5.823 GB, free: 24.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003483/14.81, allocations: 2.037 MB / 5.825 GB, free: 22.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01623/14.83, allocations: 2.955 MB / 5.828 GB, free: 20.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0496/14.88, allocations: 31.27 MB / 5.858 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009235/14.89, allocations: 4.246 MB / 5.863 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0114/14.9, allocations: 2.415 MB / 5.865 GB, free: 240 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6068/15.5, allocations: 2.742 MB / 5.868 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/15.5, allocations: 0 / 5.868 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3032/15.81, allocations: 187.8 MB / 6.051 GB, free: 94.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/15.81, allocations: 276.5 kB / 6.051 GB, free: 94.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/23.76, allocations: 3.375 kB / 6.051 GB, free: 94.57 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)