Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.168/2.168, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001371/0.00137, allocations: 177.3 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009799/0.0009798, allocations: 89.61 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004591, allocations: 12.88 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.857/9.076, allocations: 2.504 GB / 3.403 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005087/9.077, allocations: 105.1 kB / 3.403 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 16.07/25.14, allocations: 2.234 GB / 5.637 GB, free: 85.97 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.979e-06/25.14, allocations: 0 / 5.637 GB, free: 85.97 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002277/25.15, allocations: 157.6 kB / 5.637 GB, free: 85.95 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.05309/25.2, allocations: 6.897 MB / 5.644 GB, free: 83.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/25.2, allocations: 6.906 kB / 5.644 GB, free: 83.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02253/25.22, allocations: 1.335 MB / 5.645 GB, free: 83.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03842/25.26, allocations: 6.93 MB / 5.652 GB, free: 82.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007579/25.26, allocations: 330.7 kB / 5.652 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003505/25.27, allocations: 453.3 kB / 5.653 GB, free: 82.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03705/25.3, allocations: 5.929 MB / 5.659 GB, free: 81.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005581/25.3, allocations: 8.375 kB / 5.659 GB, free: 81.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003151/25.31, allocations: 181.6 kB / 5.659 GB, free: 81.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005554/25.31, allocations: 197.8 kB / 5.659 GB, free: 81.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/25.34, allocations: 5.137 MB / 5.664 GB, free: 81.75 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.09433/25.43, allocations: 25.45 MB / 5.689 GB, free: 71.47 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/25.45, allocations: 4.218 MB / 5.693 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009437/25.46, allocations: 2.213 MB / 5.695 GB, free: 70.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002376/25.46, allocations: 0.9144 MB / 5.696 GB, free: 69.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009783/25.47, allocations: 1.92 MB / 5.698 GB, free: 69.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 1.299e-05/25.47, allocations: 1.312 kB / 5.698 GB, free: 69.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.06356/25.53, allocations: 10.15 MB / 5.708 GB, free: 67.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/25.53, allocations: 240.8 kB / 5.708 GB, free: 67.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02113/25.55, allocations: 4.63 MB / 5.712 GB, free: 67.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/25.56, allocations: 92.73 kB / 5.713 GB, free: 67.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00709/25.56, allocations: 2.454 MB / 5.715 GB, free: 66.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003144/25.57, allocations: 0.9934 MB / 5.716 GB, free: 65.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008575/25.57, allocations: 65.41 kB / 5.716 GB, free: 65.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005941/25.57, allocations: 424.4 kB / 5.716 GB, free: 65.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007382/25.58, allocations: 1.541 MB / 5.718 GB, free: 65.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009234/25.58, allocations: 2.425 MB / 5.72 GB, free: 64.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/25.59, allocations: 2.019 MB / 5.722 GB, free: 64.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-05/25.59, allocations: 3.875 kB / 5.722 GB, free: 64.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.02657/25.62, allocations: 4.575 MB / 5.727 GB, free: 64.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007107/25.62, allocations: 0.4932 MB / 5.727 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.202e-05/25.62, allocations: 15.06 kB / 5.727 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/25.62, allocations: 245.4 kB / 5.727 GB, free: 63.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008728/25.63, allocations: 0.6652 MB / 5.728 GB, free: 63.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006471/25.64, allocations: 3.418 MB / 5.731 GB, free: 61.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/25.66, allocations: 0.5452 MB / 5.732 GB, free: 61.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/25.66, allocations: 127.7 kB / 5.732 GB, free: 61.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/25.66, allocations: 3.344 kB / 5.732 GB, free: 61.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02289/25.68, allocations: 4.127 MB / 5.736 GB, free: 61.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/25.68, allocations: 20.7 kB / 5.736 GB, free: 61.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/25.68, allocations: 197.3 kB / 5.736 GB, free: 61.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008691/25.69, allocations: 0.6551 MB / 5.737 GB, free: 61.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009595/25.7, allocations: 4.069 MB / 5.741 GB, free: 58.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/25.72, allocations: 0.5349 MB / 5.741 GB, free: 58.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/25.72, allocations: 123.1 kB / 5.742 GB, free: 58.26 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.01101/25.73, allocations: 2.195 MB / 5.744 GB, free: 58.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003558/25.73, allocations: 475 kB / 5.744 GB, free: 57.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/25.76, allocations: 4.273 MB / 5.748 GB, free: 57.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-05/25.76, allocations: 32 kB / 5.748 GB, free: 57.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/25.76, allocations: 3.656 kB / 5.748 GB, free: 57.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01745/25.77, allocations: 3.557 MB / 5.752 GB, free: 57.23 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.05076/25.82, allocations: 10.51 MB / 5.762 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.574e-05/25.82, allocations: 3.969 kB / 5.762 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008106/25.83, allocations: 0.6647 MB / 5.763 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/25.83, allocations: 170 kB / 5.763 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001372/25.84, allocations: 81.78 kB / 5.763 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/25.84, allocations: 3.327 MB / 5.766 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/25.84, allocations: 12.41 kB / 5.766 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02995/25.87, allocations: 6.55 MB / 5.773 GB, free: 51.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008276/25.88, allocations: 1.106 MB / 5.774 GB, free: 51.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003999/25.89, allocations: 77.27 kB / 5.774 GB, free: 51.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/25.9, allocations: 480.5 kB / 5.774 GB, free: 50.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001459/25.9, allocations: 175.4 kB / 5.774 GB, free: 50.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001232/25.9, allocations: 115.4 kB / 5.775 GB, free: 50.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01489/25.92, allocations: 3.25 MB / 5.778 GB, free: 49.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.243e-06/25.92, allocations: 0 / 5.778 GB, free: 49.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03192/25.95, allocations: 2.976 MB / 5.781 GB, free: 49.41 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.01142/25.96, allocations: 3.126 MB / 5.784 GB, free: 48.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02956/25.99, allocations: 6.439 MB / 5.79 GB, free: 45.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.321e-05/25.99, allocations: 7.531 kB / 5.79 GB, free: 45.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00902/26, allocations: 2.049 MB / 5.792 GB, free: 44.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04171/26.04, allocations: 2.996 MB / 5.795 GB, free: 44.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05932/26.1, allocations: 14.2 MB / 5.809 GB, free: 37.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01698/26.12, allocations: 4.139 MB / 5.813 GB, free: 36.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02317/26.14, allocations: 2.41 MB / 5.815 GB, free: 35.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/26.14, allocations: 360.7 kB / 5.816 GB, free: 35.88 MB / 0.948 GB Notification: Performance of SimCode: time 2.185e-06/26.14, allocations: 3.906 kB / 5.816 GB, free: 35.88 MB / 0.948 GB Notification: Performance of Templates: time 1.8/27.94, allocations: 131.4 MB / 5.944 GB, free: 90.7 MB / 0.9636 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)