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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.3 MB / 0.5488 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 69.64 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3078, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7711/1.079, allocations: 214.2 MB / 0.9926 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01366/1.093, allocations: 6.945 MB / 0.9993 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/1.095, allocations: 40.94 kB / 0.9994 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/1.098, allocations: 0.7908 MB / 1 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007375/1.105, allocations: 2.495 MB / 1.003 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/1.109, allocations: 1.156 MB / 1.004 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004561/1.113, allocations: 2.787 MB / 1.006 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/1.115, allocations: 1.089 MB / 1.008 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/1.12, allocations: 1.989 MB / 1.009 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/1.122, allocations: 0.9228 MB / 1.01 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/1.123, allocations: 118 kB / 1.01 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/1.128, allocations: 2.45 MB / 1.013 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005513/1.128, allocations: 424.4 kB / 1.013 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009987/1.129, allocations: 0.6927 MB / 1.014 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004717/1.134, allocations: 2.476 MB / 1.016 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.134, allocations: 0 / 1.016 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.673e-06/1.134, allocations: 0 / 1.016 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.305e-05/1.134, allocations: 0 / 1.016 GB, free: 15.18 MB / 0.7481 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.004774/1.139, allocations: 1.845 MB / 1.018 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.139, allocations: 10.44 kB / 1.018 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/1.142, allocations: 0.537 MB / 1.019 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.144, allocations: 0.9657 MB / 1.02 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006671/1.145, allocations: 176.6 kB / 1.02 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.145, allocations: 84.2 kB / 1.02 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/1.148, allocations: 1.235 MB / 1.021 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.148, allocations: 0 / 1.021 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.149, allocations: 34.8 kB / 1.021 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.907e-05/1.149, allocations: 45.27 kB / 1.021 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/1.153, allocations: 1.547 MB / 1.023 GB, free: 11.26 MB / 0.7481 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.007533/1.16, allocations: 4.084 MB / 1.027 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/1.163, allocations: 1 MB / 1.028 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/1.165, allocations: 0.6682 MB / 1.028 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.166, allocations: 0.6172 MB / 1.029 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/1.166, allocations: 47.84 kB / 1.029 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.537e-06/1.166, allocations: 0 / 1.029 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.005426/1.172, allocations: 1.807 MB / 1.031 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.172, allocations: 63.59 kB / 1.031 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.173, allocations: 0.815 MB / 1.032 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/1.173, allocations: 44.98 kB / 1.032 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/1.173, allocations: 445.6 kB / 1.032 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/1.174, allocations: 260.1 kB / 1.032 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/1.174, allocations: 152.9 kB / 1.032 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.174, allocations: 341.1 kB / 1.033 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/1.176, allocations: 0.5396 MB / 1.033 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/1.177, allocations: 0.6677 MB / 1.034 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/1.18, allocations: 1.146 MB / 1.035 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/1.18, allocations: 0 / 1.035 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003594/1.184, allocations: 1.36 MB / 1.036 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/1.184, allocations: 33.7 kB / 1.036 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.184, allocations: 0 / 1.036 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.184, allocations: 8.062 kB / 1.036 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.186, allocations: 272.6 kB / 1.037 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007242/1.186, allocations: 1.191 MB / 1.038 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.188, allocations: 155.4 kB / 1.038 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/1.188, allocations: 35.97 kB / 1.038 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00189/1.19, allocations: 0.7672 MB / 1.039 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00167/1.191, allocations: 0.6598 MB / 1.039 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003011/1.194, allocations: 1.143 MB / 1.041 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/1.194, allocations: 4 kB / 1.041 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00375/1.198, allocations: 1.349 MB / 1.042 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/1.198, allocations: 37.69 kB / 1.042 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.198, allocations: 3.938 kB / 1.042 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/1.198, allocations: 4 kB / 1.042 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.2, allocations: 235.8 kB / 1.042 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/1.2, allocations: 4 kB / 1.042 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.201, allocations: 138.3 kB / 1.042 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/1.201, allocations: 35.98 kB / 1.042 GB, free: 11.22 MB / 0.7637 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.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 (86): * Single equations (assignments): 83 * 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.0003546/1.201, allocations: 231.2 kB / 1.043 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/1.202, allocations: 106.7 kB / 1.043 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/1.205, allocations: 1.355 MB / 1.044 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.205, allocations: 12 kB / 1.044 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.205, allocations: 4 kB / 1.044 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/1.205, allocations: 3.984 kB / 1.044 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/1.211, allocations: 2.849 MB / 1.047 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.211, allocations: 7.938 kB / 1.047 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.212, allocations: 236.1 kB / 1.047 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.213, allocations: 8 kB / 1.047 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/1.213, allocations: 23.98 kB / 1.047 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/1.213, allocations: 1.192 MB / 1.048 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.213, allocations: 4 kB / 1.048 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/1.217, allocations: 1.475 MB / 1.05 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/1.217, allocations: 311.6 kB / 1.05 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.218, allocations: 23.94 kB / 1.05 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.219, allocations: 115.8 kB / 1.05 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.219, allocations: 56.48 kB / 1.05 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/1.219, allocations: 35.92 kB / 1.05 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008112/1.22, allocations: 0.57 MB / 1.051 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.22, allocations: 4 kB / 1.051 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001502/1.221, allocations: 0.5302 MB / 1.051 GB, free: 1.848 MB / 0.7637 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 (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 Backend phase and start with SimCode phase: time 0.0005967/1.222, allocations: 259.5 kB / 1.051 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005995/1.228, allocations: 2.155 MB / 1.054 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.228, allocations: 0 / 1.054 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/1.23, allocations: 0.6754 MB / 1.054 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.233, allocations: 0.4933 MB / 1.055 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/1.238, allocations: 2.113 MB / 1.057 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/1.238, allocations: 1.094 MB / 1.058 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001715/1.24, allocations: 391.5 kB / 1.058 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.24, allocations: 83.41 kB / 1.058 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 1.152e-06/1.24, allocations: 4 kB / 1.058 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.03556/1.276, allocations: 20.84 MB / 1.079 GB, free: 5.953 MB / 0.795 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)