Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.922/1.922, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001332/0.001332, allocations: 192.8 kB / 377.1 MB, free: 1.535 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.805/1.805, allocations: 205.4 MB / 0.6367 GB, free: 8.535 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.0009938/0.0009938, allocations: 87.94 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.326, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.012/6.338, allocations: 2.09 GB / 3.079 GB, free: 145 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/6.338, allocations: 83.95 kB / 3.079 GB, free: 144.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.327/10.67, allocations: 1.001 GB / 4.08 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.944e-06/10.67, allocations: 0.6875 kB / 4.08 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001948/10.67, allocations: 31.73 kB / 4.08 GB, free: 135.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007661/10.67, allocations: 1.911 MB / 4.082 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/10.67, allocations: 10.56 kB / 4.082 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/10.68, allocations: 0.5451 MB / 4.083 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/10.68, allocations: 1.05 MB / 4.084 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/10.68, allocations: 205.1 kB / 4.084 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/10.68, allocations: 85.17 kB / 4.084 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/10.68, allocations: 1.337 MB / 4.085 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/10.68, allocations: 0 / 4.085 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/10.68, allocations: 33.66 kB / 4.085 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/10.68, allocations: 45.72 kB / 4.085 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/10.69, allocations: 1.575 MB / 4.087 GB, free: 134.1 MB / 0.9636 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.007392/10.7, allocations: 4.083 MB / 4.091 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/10.7, allocations: 1.043 MB / 4.092 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009345/10.7, allocations: 0.6017 MB / 4.092 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/10.7, allocations: 48.95 kB / 4.092 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 4.108e-06/10.7, allocations: 0 / 4.092 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.004823/10.7, allocations: 1.893 MB / 4.094 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/10.7, allocations: 59.66 kB / 4.094 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/10.71, allocations: 0.7135 MB / 4.095 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/10.71, allocations: 37.58 kB / 4.095 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/10.71, allocations: 455.5 kB / 4.096 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/10.71, allocations: 256.1 kB / 4.096 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/10.71, allocations: 17.19 kB / 4.096 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/10.71, allocations: 333.2 kB / 4.096 GB, free: 131 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/10.71, allocations: 0.5588 MB / 4.097 GB, free: 131 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/10.71, allocations: 0.7049 MB / 4.097 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/10.71, allocations: 0.6172 MB / 4.098 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/10.71, allocations: 0 / 4.098 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003358/10.71, allocations: 1.423 MB / 4.099 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/10.71, allocations: 480.5 kB / 4.1 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/10.71, allocations: 6.906 kB / 4.1 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/10.71, allocations: 10.95 kB / 4.1 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/10.72, allocations: 264.1 kB / 4.1 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006557/10.72, allocations: 1.192 MB / 4.101 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/10.72, allocations: 208.8 kB / 4.101 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/10.72, allocations: 40.19 kB / 4.101 GB, free: 129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/10.72, allocations: 7.422 kB / 4.101 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002966/10.72, allocations: 1.307 MB / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/10.72, allocations: 0 / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/10.72, allocations: 3.875 kB / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/10.72, allocations: 259.4 kB / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/10.72, allocations: 3.469 kB / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/10.72, allocations: 193.2 kB / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/10.72, allocations: 42.19 kB / 4.103 GB, free: 128.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008039/10.72, allocations: 380 kB / 4.104 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/10.72, allocations: 106.1 kB / 4.104 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/10.73, allocations: 1.423 MB / 4.105 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/10.73, allocations: 11.59 kB / 4.105 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/10.73, allocations: 0 / 4.105 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/10.73, allocations: 3.516 kB / 4.105 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/10.73, allocations: 2.884 MB / 4.108 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/10.73, allocations: 3.281 kB / 4.108 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/10.74, allocations: 256 kB / 4.108 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.972e-05/10.74, allocations: 6.812 kB / 4.108 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/10.74, allocations: 34.56 kB / 4.108 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004184/10.74, allocations: 1.199 MB / 4.109 GB, free: 127 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/10.74, allocations: 3.781 kB / 4.109 GB, free: 127 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/10.74, allocations: 1.702 MB / 4.111 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008685/10.74, allocations: 307.2 kB / 4.111 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/10.74, allocations: 16.75 kB / 4.111 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/10.74, allocations: 167.4 kB / 4.111 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/10.74, allocations: 65.31 kB / 4.112 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/10.74, allocations: 33.28 kB / 4.112 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001051/10.74, allocations: 0.5596 MB / 4.112 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-07/10.74, allocations: 0 / 4.112 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003425/10.75, allocations: 0.7574 MB / 4.113 GB, free: 126.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005456/10.75, allocations: 2.356 MB / 4.115 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006277/10.76, allocations: 2.114 MB / 4.117 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/10.76, allocations: 3.125 kB / 4.117 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/10.76, allocations: 0.6955 MB / 4.118 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/10.76, allocations: 0.5049 MB / 4.118 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/10.77, allocations: 2.456 MB / 4.121 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/10.77, allocations: 1.118 MB / 4.122 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002377/10.78, allocations: 395.6 kB / 4.122 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/10.78, allocations: 87.39 kB / 4.122 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.172e-06/10.78, allocations: 0 / 4.122 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.07342/10.85, allocations: 45.58 MB / 4.167 GB, free: 120.3 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)