Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 288.4 MB / 303.4 MB, free: 8.086 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.0009728/0.0009729, allocations: 173.5 kB / 372 MB, free: 10.28 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.494/1.494, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007195/0.0007195, allocations: 93.41 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004253, allocations: 15.2 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2479, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9716/1.22, allocations: 195.2 MB / 1.17 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0171/1.237, allocations: 6.538 MB / 1.177 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/1.24, allocations: 45.31 kB / 1.177 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/1.243, allocations: 0.492 MB / 1.177 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/1.253, allocations: 1.779 MB / 1.179 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005497/1.258, allocations: 0.9058 MB / 1.18 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008308/1.267, allocations: 3.171 MB / 1.183 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/1.269, allocations: 0.7876 MB / 1.184 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006782/1.276, allocations: 1.526 MB / 1.185 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/1.279, allocations: 0.858 MB / 1.186 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002882/1.279, allocations: 50.22 kB / 1.186 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00639/1.286, allocations: 1.535 MB / 1.187 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000808/1.286, allocations: 351.3 kB / 1.188 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009298/1.287, allocations: 266 kB / 1.188 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004238/1.292, allocations: 1.711 MB / 1.19 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/1.292, allocations: 4 kB / 1.19 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.596e-06/1.292, allocations: 0 / 1.19 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.695e-05/1.292, allocations: 2.5 kB / 1.19 GB, free: 13.15 MB / 0.7292 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.006785/1.299, allocations: 1.609 MB / 1.191 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.299, allocations: 12.19 kB / 1.191 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/1.304, allocations: 0.5995 MB / 1.192 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/1.306, allocations: 0.918 MB / 1.193 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008392/1.307, allocations: 199.3 kB / 1.193 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/1.307, allocations: 85.23 kB / 1.193 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/1.311, allocations: 1.269 MB / 1.194 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.311, allocations: 0 / 1.194 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.311, allocations: 31.91 kB / 1.194 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.67e-05/1.311, allocations: 48.33 kB / 1.194 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/1.315, allocations: 1.614 MB / 1.196 GB, free: 9.348 MB / 0.7292 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.007388/1.323, allocations: 4.096 MB / 1.2 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/1.325, allocations: 1.045 MB / 1.201 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/1.327, allocations: 0.6978 MB / 1.202 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/1.328, allocations: 0.6379 MB / 1.202 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/1.328, allocations: 44.3 kB / 1.202 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.246e-06/1.328, allocations: 0 / 1.202 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.005224/1.334, allocations: 1.916 MB / 1.204 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/1.334, allocations: 59.94 kB / 1.204 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.335, allocations: 0.8134 MB / 1.205 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.335, allocations: 43.52 kB / 1.205 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/1.336, allocations: 447.5 kB / 1.205 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/1.336, allocations: 260.9 kB / 1.206 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/1.336, allocations: 10.75 kB / 1.206 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.336, allocations: 334 kB / 1.206 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/1.338, allocations: 0.5647 MB / 1.207 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/1.339, allocations: 0.696 MB / 1.207 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.341, allocations: 0.6177 MB / 1.208 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.341, allocations: 0 / 1.208 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00364/1.344, allocations: 1.427 MB / 1.209 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.344, allocations: 152.8 kB / 1.209 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.345, allocations: 0 / 1.209 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.345, allocations: 4 kB / 1.209 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.346, allocations: 288.3 kB / 1.21 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/1.347, allocations: 1.192 MB / 1.211 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.348, allocations: 195.2 kB / 1.211 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.349, allocations: 35.97 kB / 1.211 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.349, allocations: 4 kB / 1.211 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003171/1.352, allocations: 1.321 MB / 1.212 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.352, allocations: 4 kB / 1.212 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/1.352, allocations: 4 kB / 1.212 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.353, allocations: 247.8 kB / 1.213 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.353, allocations: 4 kB / 1.213 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.354, allocations: 203 kB / 1.213 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.355, allocations: 43.97 kB / 1.213 GB, free: 11.32 MB / 0.7448 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.0007806/1.355, allocations: 368.9 kB / 1.213 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/1.356, allocations: 106.7 kB / 1.213 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/1.359, allocations: 1.429 MB / 1.215 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.359, allocations: 8 kB / 1.215 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.36, allocations: 0 / 1.215 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.36, allocations: 11.94 kB / 1.215 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/1.366, allocations: 2.913 MB / 1.218 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.366, allocations: 4 kB / 1.218 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.367, allocations: 252.1 kB / 1.218 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/1.368, allocations: 4 kB / 1.218 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/1.368, allocations: 27.98 kB / 1.218 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/1.368, allocations: 1.195 MB / 1.219 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.368, allocations: 7.938 kB / 1.219 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/1.372, allocations: 1.533 MB / 1.221 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/1.373, allocations: 315.4 kB / 1.221 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.373, allocations: 16 kB / 1.221 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.375, allocations: 159.8 kB / 1.221 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.375, allocations: 60.39 kB / 1.221 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/1.375, allocations: 39.97 kB / 1.221 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009999/1.376, allocations: 0.5621 MB / 1.222 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.376, allocations: 0 / 1.222 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001969/1.378, allocations: 0.5379 MB / 1.222 GB, free: 1.535 MB / 0.7448 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.0008168/1.379, allocations: 268.1 kB / 1.222 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005813/1.385, allocations: 2.147 MB / 1.225 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.385, allocations: 0 / 1.225 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.387, allocations: 0.6989 MB / 1.225 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.39, allocations: 0.5216 MB / 1.226 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/1.396, allocations: 2.477 MB / 1.228 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/1.397, allocations: 1.091 MB / 1.229 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002034/1.399, allocations: 391.5 kB / 1.23 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/1.399, allocations: 95.39 kB / 1.23 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of SimCode: time 8.31e-07/1.399, allocations: 0 / 1.23 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of Templates: time 0.03733/1.436, allocations: 19.43 MB / 1.249 GB, free: 6.52 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)