Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.506/2.506, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001412/0.001412, allocations: 180.9 kB / 360.6 MB, free: 7.289 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.996/1.996, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001112/0.001111, allocations: 98.23 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.751e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.842, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.053/7.895, allocations: 2.386 GB / 3.349 GB, free: 93.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/7.895, allocations: 93.64 kB / 3.35 GB, free: 93.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.76/19.66, allocations: 2.294 GB / 5.643 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.054e-06/19.66, allocations: 0 / 5.643 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001383/19.66, allocations: 155.7 kB / 5.644 GB, free: 34.25 MB / 0.9948 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.02721/19.69, allocations: 5.659 MB / 5.649 GB, free: 28.51 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/19.69, allocations: 8.562 kB / 5.649 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/19.7, allocations: 1.323 MB / 5.65 GB, free: 27.17 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02577/19.73, allocations: 7.027 MB / 5.657 GB, free: 20.09 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/19.73, allocations: 132 kB / 5.657 GB, free: 19.96 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/19.73, allocations: 267.9 kB / 5.658 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01466/19.74, allocations: 4.6 MB / 5.662 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/19.76, allocations: 5.145 MB / 5.667 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/19.76, allocations: 11.94 kB / 5.667 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000906/19.76, allocations: 8 kB / 5.667 GB, free: 9.766 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/19.76, allocations: 200.1 kB / 5.667 GB, free: 9.566 MB / 0.9948 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.8696/20.63, allocations: 24.71 MB / 5.691 GB, free: 112.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/20.65, allocations: 5.222 MB / 5.697 GB, free: 110.9 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006298/20.66, allocations: 2.062 MB / 5.699 GB, free: 110.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/20.66, allocations: 0.914 MB / 5.699 GB, free: 110 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00536/20.66, allocations: 1.884 MB / 5.701 GB, free: 109.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 7.564e-06/20.66, allocations: 0 / 5.701 GB, free: 109.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.04117/20.7, allocations: 9.553 MB / 5.711 GB, free: 107.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/20.7, allocations: 292.2 kB / 5.711 GB, free: 107.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/20.71, allocations: 3.877 MB / 5.715 GB, free: 107 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/20.72, allocations: 32.23 kB / 5.715 GB, free: 107 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004226/20.72, allocations: 2.463 MB / 5.717 GB, free: 106.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/20.72, allocations: 0.9658 MB / 5.718 GB, free: 105.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/20.72, allocations: 3.844 kB / 5.718 GB, free: 105.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002738/20.72, allocations: 424.9 kB / 5.718 GB, free: 105.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/20.73, allocations: 1.422 MB / 5.72 GB, free: 105.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/20.73, allocations: 2.28 MB / 5.722 GB, free: 104.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005588/20.74, allocations: 1.936 MB / 5.724 GB, free: 104.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-05/20.74, allocations: 0.7812 kB / 5.724 GB, free: 104.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01384/20.75, allocations: 4.246 MB / 5.728 GB, free: 104.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001348/20.75, allocations: 5.884 MB / 5.734 GB, free: 98.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/20.75, allocations: 16.94 kB / 5.734 GB, free: 98.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009125/20.75, allocations: 196.5 kB / 5.734 GB, free: 98.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005987/20.76, allocations: 0.6743 MB / 5.735 GB, free: 98.13 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/20.76, allocations: 3.373 MB / 5.738 GB, free: 95.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/20.77, allocations: 491.6 kB / 5.739 GB, free: 95.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/20.77, allocations: 131.1 kB / 5.739 GB, free: 95.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/20.77, allocations: 0 / 5.739 GB, free: 95.73 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01195/20.79, allocations: 3.719 MB / 5.742 GB, free: 95.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-05/20.79, allocations: 17.81 kB / 5.742 GB, free: 95.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009015/20.79, allocations: 197.5 kB / 5.742 GB, free: 95.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00581/20.79, allocations: 0.6621 MB / 5.743 GB, free: 95.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/20.8, allocations: 3.919 MB / 5.747 GB, free: 92.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009816/20.81, allocations: 484.3 kB / 5.747 GB, free: 92.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/20.81, allocations: 123.1 kB / 5.748 GB, free: 92.96 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (355): * Single equations (assignments): 349 * 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.001481/20.81, allocations: 219.8 kB / 5.748 GB, free: 92.81 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01245/20.82, allocations: 3.549 MB / 5.751 GB, free: 92.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002499/20.83, allocations: 462.4 kB / 5.752 GB, free: 92.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/20.84, allocations: 3.901 MB / 5.755 GB, free: 91.99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.254e-05/20.84, allocations: 33.27 kB / 5.755 GB, free: 91.99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/20.84, allocations: 4.438 kB / 5.755 GB, free: 91.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01055/20.85, allocations: 3.275 MB / 5.759 GB, free: 91.71 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.03299/20.88, allocations: 10.01 MB / 5.768 GB, free: 90.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/20.88, allocations: 4.969 kB / 5.768 GB, free: 90.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006287/20.89, allocations: 0.6638 MB / 5.769 GB, free: 90.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007348/20.89, allocations: 154 kB / 5.769 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007449/20.89, allocations: 52.33 kB / 5.769 GB, free: 90.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/20.9, allocations: 3.253 MB / 5.772 GB, free: 88.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/20.9, allocations: 4.5 kB / 5.772 GB, free: 88.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/20.91, allocations: 6.592 MB / 5.779 GB, free: 86.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005511/20.92, allocations: 1.091 MB / 5.78 GB, free: 86.56 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/20.92, allocations: 36.61 kB / 5.78 GB, free: 86.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008625/20.93, allocations: 424.5 kB / 5.78 GB, free: 86.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009634/20.93, allocations: 174.7 kB / 5.781 GB, free: 86.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00055/20.93, allocations: 112.6 kB / 5.781 GB, free: 86.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008662/20.94, allocations: 3.004 MB / 5.784 GB, free: 86.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.102e-06/20.94, allocations: 0 / 5.784 GB, free: 86.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02085/20.96, allocations: 2.768 MB / 5.786 GB, free: 86.36 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.02279/20.98, allocations: 11.16 MB / 5.797 GB, free: 82.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01503/21, allocations: 6.126 MB / 5.803 GB, free: 82.19 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/21, allocations: 3.125 kB / 5.803 GB, free: 82.19 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004571/21, allocations: 1.904 MB / 5.805 GB, free: 82.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02458/21.03, allocations: 2.813 MB / 5.808 GB, free: 81.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/21.07, allocations: 12.01 MB / 5.82 GB, free: 79.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009343/21.08, allocations: 4.223 MB / 5.824 GB, free: 78.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02351/21.1, allocations: 4.009 MB / 5.828 GB, free: 78.92 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007629/21.11, allocations: 2.23 MB / 5.83 GB, free: 78.91 MB / 1.01 GB Notification: Performance of SimCode: time 2.004e-06/21.11, allocations: 0 / 5.83 GB, free: 78.91 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3806/21.49, allocations: 166.5 MB / 5.992 GB, free: 40.98 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/21.49, allocations: 194.7 kB / 5.993 GB, free: 40.78 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/31.93, allocations: 7.094 kB / 5.993 GB, free: 40.77 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)