Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.001134/0.001134, allocations: 187.8 kB / 371.6 MB, free: 3.387 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.486/1.486, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008325/0.0008326, allocations: 93.61 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.988e-05/4.991e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2899, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.154/7.444, allocations: 2.388 GB / 3.368 GB, free: 272.6 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/7.444, allocations: 95.36 kB / 3.368 GB, free: 272.6 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 10.15/17.59, allocations: 2.313 GB / 5.681 GB, free: 81.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.003e-06/17.59, allocations: 0 / 5.681 GB, free: 81.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001279/17.59, allocations: 153.4 kB / 5.681 GB, free: 81.16 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.02417/17.61, allocations: 5.659 MB / 5.686 GB, free: 78.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/17.61, allocations: 10.25 kB / 5.686 GB, free: 78.98 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003031/17.62, allocations: 0.577 MB / 5.687 GB, free: 78.91 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/17.63, allocations: 1.33 MB / 5.688 GB, free: 78.57 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/17.65, allocations: 7.027 MB / 5.695 GB, free: 77.69 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004158/17.65, allocations: 331.7 kB / 5.695 GB, free: 77.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/17.65, allocations: 441.7 kB / 5.696 GB, free: 77.67 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/17.67, allocations: 5.761 MB / 5.701 GB, free: 77.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/17.67, allocations: 17.84 kB / 5.701 GB, free: 77.19 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006068/17.67, allocations: 169.4 kB / 5.702 GB, free: 77.19 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/17.67, allocations: 203 kB / 5.702 GB, free: 77.18 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/17.68, allocations: 4.947 MB / 5.707 GB, free: 77.13 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.05385/17.73, allocations: 25.47 MB / 5.731 GB, free: 66.87 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/17.74, allocations: 4.308 MB / 5.736 GB, free: 66.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003849/17.74, allocations: 2.163 MB / 5.738 GB, free: 66.01 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/17.75, allocations: 0.9094 MB / 5.739 GB, free: 65.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004046/17.75, allocations: 1.862 MB / 5.741 GB, free: 64.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 6.663e-06/17.75, allocations: 2.625 kB / 5.741 GB, free: 64.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.02689/17.78, allocations: 8.412 MB / 5.749 GB, free: 63.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/17.78, allocations: 244.3 kB / 5.749 GB, free: 63.04 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/17.79, allocations: 4.168 MB / 5.753 GB, free: 62.73 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001353/17.79, allocations: 92.39 kB / 5.753 GB, free: 62.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004633/17.79, allocations: 2.448 MB / 5.756 GB, free: 61.92 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00246/17.8, allocations: 0.9992 MB / 5.756 GB, free: 61.28 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009016/17.8, allocations: 57.16 kB / 5.757 GB, free: 61.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005036/17.8, allocations: 427.2 kB / 5.757 GB, free: 60.97 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/17.8, allocations: 1.489 MB / 5.758 GB, free: 60.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/17.81, allocations: 2.363 MB / 5.761 GB, free: 60.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/17.81, allocations: 1.976 MB / 5.763 GB, free: 59.37 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-05/17.81, allocations: 3.312 kB / 5.763 GB, free: 59.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01084/17.82, allocations: 4.453 MB / 5.767 GB, free: 57.66 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001585/17.82, allocations: 5.718 MB / 5.773 GB, free: 51.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.895e-05/17.82, allocations: 16.25 kB / 5.773 GB, free: 51.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/17.82, allocations: 212.7 kB / 5.773 GB, free: 51.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/17.83, allocations: 0.672 MB / 5.773 GB, free: 51.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/17.83, allocations: 3.402 MB / 5.777 GB, free: 48.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007444/17.84, allocations: 0.5542 MB / 5.777 GB, free: 48.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009425/17.84, allocations: 121.1 kB / 5.777 GB, free: 48.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/17.84, allocations: 4.875 kB / 5.777 GB, free: 48.48 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009502/17.85, allocations: 4.034 MB / 5.781 GB, free: 46.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-05/17.85, allocations: 13.75 kB / 5.781 GB, free: 46.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/17.85, allocations: 213.5 kB / 5.782 GB, free: 46.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/17.85, allocations: 0.6502 MB / 5.782 GB, free: 46.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/17.86, allocations: 4.056 MB / 5.786 GB, free: 43.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008308/17.87, allocations: 0.5356 MB / 5.787 GB, free: 43.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/17.87, allocations: 118.6 kB / 5.787 GB, free: 43.37 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.002107/17.87, allocations: 325.6 kB / 5.787 GB, free: 43.09 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002315/17.87, allocations: 471.9 kB / 5.788 GB, free: 42.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/17.88, allocations: 4.183 MB / 5.792 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/17.88, allocations: 28.69 kB / 5.792 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/17.88, allocations: 3.281 kB / 5.792 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006292/17.89, allocations: 3.478 MB / 5.795 GB, free: 39.85 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.0324/17.92, allocations: 10.6 MB / 5.805 GB, free: 35.35 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/17.92, allocations: 3.719 kB / 5.805 GB, free: 35.35 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003401/17.92, allocations: 0.6597 MB / 5.806 GB, free: 35.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/17.92, allocations: 175.2 kB / 5.806 GB, free: 35.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006748/17.93, allocations: 86.8 kB / 5.806 GB, free: 35.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/17.93, allocations: 3.309 MB / 5.81 GB, free: 32.33 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/17.93, allocations: 9.188 kB / 5.81 GB, free: 32.33 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/17.94, allocations: 6.894 MB / 5.816 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005435/17.95, allocations: 1.111 MB / 5.817 GB, free: 28.34 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002485/17.95, allocations: 72.25 kB / 5.817 GB, free: 28.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00693/17.96, allocations: 475.4 kB / 5.818 GB, free: 28.24 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000939/17.96, allocations: 183.3 kB / 5.818 GB, free: 28.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007767/17.96, allocations: 107 kB / 5.818 GB, free: 28.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01116/17.97, allocations: 3.278 MB / 5.821 GB, free: 27 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.583e-06/17.97, allocations: 3.188 kB / 5.821 GB, free: 27 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02165/17.99, allocations: 2.982 MB / 5.824 GB, free: 26.62 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.02365/18.01, allocations: 11.23 MB / 5.835 GB, free: 36.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01451/18.03, allocations: 6.449 MB / 5.842 GB, free: 34.14 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/18.03, allocations: 3.594 kB / 5.842 GB, free: 34.14 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/18.03, allocations: 2 MB / 5.844 GB, free: 33.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01877/18.05, allocations: 2.936 MB / 5.846 GB, free: 32.78 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04479/18.1, allocations: 12.29 MB / 5.858 GB, free: 26.08 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008597/18.11, allocations: 4.22 MB / 5.863 GB, free: 22.86 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01705/18.12, allocations: 3.987 MB / 5.866 GB, free: 20.41 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006545/18.13, allocations: 2.232 MB / 5.869 GB, free: 18.35 MB / 1.026 GB Notification: Performance of SimCode: time 2.084e-06/18.13, allocations: 4 kB / 5.869 GB, free: 18.35 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.311/19.44, allocations: 202.8 MB / 6.067 GB, free: 91.15 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/19.44, allocations: 232.2 kB / 6.067 GB, free: 90.84 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.434/28.87, allocations: 0 / 6.067 GB, free: 90.84 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)