Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 110.4 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 289.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9476/0.9476, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 87.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4062, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5878/0.994, allocations: 214.2 MB / 0.9762 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0095/1.004, allocations: 7.035 MB / 0.9831 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/1.005, allocations: 43.81 kB / 0.9831 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.007, allocations: 0.8135 MB / 0.9839 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004955/1.012, allocations: 2.632 MB / 0.9865 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/1.014, allocations: 1.175 MB / 0.9876 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002691/1.017, allocations: 2.833 MB / 0.9904 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.018, allocations: 1.086 MB / 0.9914 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/1.022, allocations: 2.055 MB / 0.9934 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/1.024, allocations: 0.9516 MB / 0.9944 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/1.024, allocations: 119 kB / 0.9945 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003857/1.028, allocations: 2.459 MB / 0.9969 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/1.028, allocations: 424.8 kB / 0.9973 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007397/1.029, allocations: 0.6874 MB / 0.998 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/1.032, allocations: 2.508 MB / 1 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.032, allocations: 0 / 1 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/1.032, allocations: 0.625 kB / 1 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.982e-05/1.032, allocations: 0 / 1 GB, free: 1.152 MB / 0.7169 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.004143/1.036, allocations: 1.846 MB / 1.002 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.036, allocations: 13.22 kB / 1.002 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/1.039, allocations: 0.5371 MB / 1.003 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/1.041, allocations: 1.006 MB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/1.041, allocations: 61.41 kB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.041, allocations: 86.53 kB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/1.044, allocations: 1.226 MB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/1.044, allocations: 0.6562 kB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.044, allocations: 33.22 kB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/1.044, allocations: 45.44 kB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/1.047, allocations: 1.527 MB / 1.007 GB, free: 15.75 MB / 0.7325 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.005652/1.053, allocations: 4.035 MB / 1.011 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/1.055, allocations: 0.9762 MB / 1.012 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/1.057, allocations: 0.6525 MB / 1.012 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.058, allocations: 0.611 MB / 1.013 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.058, allocations: 48.06 kB / 1.013 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/1.058, allocations: 0 / 1.013 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004613/1.063, allocations: 1.78 MB / 1.015 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.063, allocations: 62.66 kB / 1.015 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/1.064, allocations: 0.8246 MB / 1.015 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.141e-05/1.064, allocations: 44.67 kB / 1.015 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/1.064, allocations: 441.9 kB / 1.016 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.064, allocations: 260.8 kB / 1.016 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/1.064, allocations: 152.2 kB / 1.016 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.065, allocations: 330.7 kB / 1.017 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/1.066, allocations: 0.5253 MB / 1.017 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.067, allocations: 0.6413 MB / 1.018 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/1.07, allocations: 1.118 MB / 1.019 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.07, allocations: 7.375 kB / 1.019 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003139/1.073, allocations: 1.327 MB / 1.02 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/1.073, allocations: 38.14 kB / 1.02 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/1.073, allocations: 3.031 kB / 1.02 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.073, allocations: 3.406 kB / 1.02 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.075, allocations: 258 kB / 1.02 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007113/1.076, allocations: 1.188 MB / 1.022 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.077, allocations: 152.5 kB / 1.022 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/1.077, allocations: 30.75 kB / 1.022 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001668/1.079, allocations: 0.7497 MB / 1.022 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001423/1.08, allocations: 0.6409 MB / 1.023 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00267/1.083, allocations: 1.111 MB / 1.024 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/1.083, allocations: 0 / 1.024 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003192/1.086, allocations: 1.32 MB / 1.025 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/1.086, allocations: 35.81 kB / 1.026 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.086, allocations: 1.219 kB / 1.026 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/1.086, allocations: 3.688 kB / 1.026 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.087, allocations: 221.1 kB / 1.026 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.087, allocations: 7.969 kB / 1.026 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.088, allocations: 134.6 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/1.088, allocations: 31.59 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002867/1.089, allocations: 228.2 kB / 1.026 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.089, allocations: 102.7 kB / 1.026 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/1.092, allocations: 1.348 MB / 1.028 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.092, allocations: 2.953 kB / 1.028 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.092, allocations: 3.938 kB / 1.028 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/1.093, allocations: 306.2 kB / 1.028 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.093, allocations: 15.11 kB / 1.028 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.094, allocations: 102.2 kB / 1.028 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.094, allocations: 48.81 kB / 1.028 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003776/1.098, allocations: 1.35 MB / 1.029 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004669/1.103, allocations: 2.102 MB / 1.031 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001363/1.104, allocations: 0.5661 MB / 1.032 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007618/1.105, allocations: 0.5711 MB / 1.032 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of Backend: time 5.01e-07/1.105, allocations: 0 / 1.032 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005923/1.111, allocations: 2.033 MB / 1.034 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003494/1.114, allocations: 2.256 MB / 1.037 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of Templates: time 0.04564/1.16, allocations: 30.12 MB / 1.066 GB, free: 11.27 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)