Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 253.2 MB / 260.6 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001487, allocations: 179.4 kB / 319.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.5 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 98.58 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.816e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2049, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.034/8.239, allocations: 2.504 GB / 3.392 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/8.239, allocations: 93.62 kB / 3.393 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.15/20.39, allocations: 2.231 GB / 5.623 GB, free: 97.95 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.559e-06/20.39, allocations: 2.375 kB / 5.623 GB, free: 97.95 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001921/20.39, allocations: 156.8 kB / 5.624 GB, free: 97.95 MB / 0.9323 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.04106/20.43, allocations: 5.652 MB / 5.629 GB, free: 97.19 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/20.43, allocations: 8.875 kB / 5.629 GB, free: 97.19 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/20.46, allocations: 1.335 MB / 5.63 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04482/20.5, allocations: 7.056 MB / 5.637 GB, free: 96.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000783/20.5, allocations: 133.2 kB / 5.637 GB, free: 96.23 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003228/20.51, allocations: 262.9 kB / 5.638 GB, free: 96.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02684/20.53, allocations: 4.627 MB / 5.642 GB, free: 96.21 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/20.56, allocations: 5.165 MB / 5.647 GB, free: 95.76 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004222/20.56, allocations: 14 kB / 5.647 GB, free: 95.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002247/20.57, allocations: 8.641 kB / 5.647 GB, free: 95.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006007/20.57, allocations: 203.6 kB / 5.648 GB, free: 95.74 MB / 0.9323 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.08458/20.65, allocations: 24.75 MB / 5.672 GB, free: 85.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/20.66, allocations: 5.031 MB / 5.677 GB, free: 84.05 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/20.67, allocations: 2.06 MB / 5.679 GB, free: 84.01 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/20.67, allocations: 0.9061 MB / 5.68 GB, free: 83.07 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00496/20.67, allocations: 1.884 MB / 5.681 GB, free: 82.91 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=284): time 6.853e-06/20.67, allocations: 0 / 5.681 GB, free: 82.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=288): time 0.03845/20.71, allocations: 9.55 MB / 5.691 GB, free: 80.16 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/20.71, allocations: 296.1 kB / 5.691 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/20.72, allocations: 3.894 MB / 5.695 GB, free: 79.56 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/20.72, allocations: 33.33 kB / 5.695 GB, free: 79.53 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004485/20.73, allocations: 2.474 MB / 5.697 GB, free: 78.72 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002029/20.73, allocations: 0.9673 MB / 5.698 GB, free: 78.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/20.73, allocations: 0 / 5.698 GB, free: 78.07 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003368/20.73, allocations: 429.3 kB / 5.699 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/20.74, allocations: 1.418 MB / 5.7 GB, free: 77.76 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005262/20.74, allocations: 2.26 MB / 5.702 GB, free: 76.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/20.75, allocations: 1.934 MB / 5.704 GB, free: 76.85 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.945e-05/20.75, allocations: 3.969 kB / 5.704 GB, free: 76.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01488/20.76, allocations: 4.216 MB / 5.708 GB, free: 76.48 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001413/20.76, allocations: 5.887 MB / 5.714 GB, free: 70.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/20.76, allocations: 13.59 kB / 5.714 GB, free: 70.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009596/20.76, allocations: 193.6 kB / 5.714 GB, free: 70.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/20.77, allocations: 0.6722 MB / 5.715 GB, free: 70.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/20.77, allocations: 3.372 MB / 5.718 GB, free: 67.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/20.78, allocations: 496.8 kB / 5.719 GB, free: 67.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/20.79, allocations: 122.5 kB / 5.719 GB, free: 67.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/20.79, allocations: 3.719 kB / 5.719 GB, free: 67.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01198/20.8, allocations: 3.707 MB / 5.722 GB, free: 67.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.389e-05/20.8, allocations: 11.41 kB / 5.722 GB, free: 67.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008709/20.8, allocations: 199.8 kB / 5.722 GB, free: 67.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/20.8, allocations: 0.6599 MB / 5.723 GB, free: 67.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/20.81, allocations: 3.927 MB / 5.727 GB, free: 65.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/20.82, allocations: 482.4 kB / 5.727 GB, free: 65.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/20.82, allocations: 121.8 kB / 5.728 GB, free: 65.12 MB / 0.9323 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.001358/20.82, allocations: 210.6 kB / 5.728 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/20.82, allocations: 468.9 kB / 5.728 GB, free: 64.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/20.84, allocations: 3.883 MB / 5.732 GB, free: 64.51 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/20.84, allocations: 28.31 kB / 5.732 GB, free: 64.51 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/20.84, allocations: 3.938 kB / 5.732 GB, free: 64.51 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009969/20.85, allocations: 3.245 MB / 5.735 GB, free: 64.24 MB / 0.9323 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.03183/20.88, allocations: 9.846 MB / 5.745 GB, free: 63.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/20.88, allocations: 3.344 kB / 5.745 GB, free: 63.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006139/20.89, allocations: 0.6608 MB / 5.745 GB, free: 63.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007245/20.89, allocations: 158.7 kB / 5.746 GB, free: 63.23 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007288/20.89, allocations: 48.75 kB / 5.746 GB, free: 63.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/20.89, allocations: 3.26 MB / 5.749 GB, free: 60.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/20.89, allocations: 7 kB / 5.749 GB, free: 60.84 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/20.91, allocations: 6.565 MB / 5.755 GB, free: 59.53 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005449/20.91, allocations: 1.113 MB / 5.756 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002196/20.92, allocations: 31.39 kB / 5.756 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00862/20.92, allocations: 426.2 kB / 5.757 GB, free: 59.18 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009121/20.93, allocations: 180.8 kB / 5.757 GB, free: 59.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005232/20.93, allocations: 112 kB / 5.757 GB, free: 59.17 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008371/20.93, allocations: 3.024 MB / 5.76 GB, free: 58.99 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.182e-06/20.93, allocations: 0 / 5.76 GB, free: 58.99 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02048/20.96, allocations: 2.78 MB / 5.763 GB, free: 58.96 MB / 0.9323 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.00723/20.96, allocations: 3.352 MB / 5.766 GB, free: 57.84 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01583/20.98, allocations: 6.104 MB / 5.772 GB, free: 57.24 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/20.98, allocations: 3.906 kB / 5.772 GB, free: 57.24 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005011/20.98, allocations: 1.896 MB / 5.774 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02456/21.01, allocations: 2.805 MB / 5.777 GB, free: 57.02 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/21.04, allocations: 10.29 MB / 5.787 GB, free: 54.97 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008079/21.05, allocations: 4.253 MB / 5.791 GB, free: 54.13 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02206/21.07, allocations: 3.966 MB / 5.795 GB, free: 54.09 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/21.07, allocations: 283 kB / 5.795 GB, free: 54.08 MB / 0.9323 GB Notification: Performance of SimCode: time 1.533e-06/21.07, allocations: 0 / 5.795 GB, free: 54.08 MB / 0.9323 GB Notification: Performance of Templates: time 0.271/21.34, allocations: 115.2 MB / 5.907 GB, free: 32.97 MB / 0.9323 GB