Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5105/0.5105, allocations: 91.99 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 103.1 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 8 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 72.32 MB / 0.5689 GB, free: 1.965 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.414/4.586, allocations: 1.849 GB / 2.418 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/4.587, allocations: 87.95 kB / 2.418 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.303/8.89, allocations: 1.01 GB / 3.428 GB, free: 84.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.375e-06/8.89, allocations: 0 / 3.428 GB, free: 84.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001457/8.89, allocations: 31.98 kB / 3.428 GB, free: 84.12 MB / 0.6355 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.008276/8.898, allocations: 1.966 MB / 3.43 GB, free: 83.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/8.898, allocations: 11.53 kB / 3.43 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/8.902, allocations: 0.5433 MB / 3.43 GB, free: 83.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/8.905, allocations: 1.078 MB / 3.431 GB, free: 83.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005982/8.905, allocations: 200.7 kB / 3.432 GB, free: 83.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/8.906, allocations: 81.66 kB / 3.432 GB, free: 83.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/8.908, allocations: 1.348 MB / 3.433 GB, free: 82.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/8.908, allocations: 3 kB / 3.433 GB, free: 82.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/8.909, allocations: 31.91 kB / 3.433 GB, free: 82.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/8.909, allocations: 39.89 kB / 3.433 GB, free: 82.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/8.912, allocations: 1.508 MB / 3.434 GB, free: 82.96 MB / 0.6355 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.00713/8.919, allocations: 4.2 MB / 3.439 GB, free: 81.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/8.921, allocations: 1.069 MB / 3.44 GB, free: 81.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009274/8.922, allocations: 0.6126 MB / 3.44 GB, free: 80.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/8.922, allocations: 45.94 kB / 3.44 GB, free: 80.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 3.677e-06/8.922, allocations: 0 / 3.44 GB, free: 80.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.004979/8.927, allocations: 1.98 MB / 3.442 GB, free: 80.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/8.927, allocations: 60.97 kB / 3.442 GB, free: 80.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/8.928, allocations: 0.7134 MB / 3.443 GB, free: 80.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/8.929, allocations: 45.86 kB / 3.443 GB, free: 80.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/8.929, allocations: 444 kB / 3.443 GB, free: 80.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/8.929, allocations: 255.5 kB / 3.444 GB, free: 80.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/8.929, allocations: 15.66 kB / 3.444 GB, free: 80.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/8.929, allocations: 338.5 kB / 3.444 GB, free: 79.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/8.931, allocations: 0.5917 MB / 3.445 GB, free: 79.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/8.932, allocations: 0.7394 MB / 3.445 GB, free: 79.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/8.934, allocations: 0.6447 MB / 3.446 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/8.934, allocations: 6.266 kB / 3.446 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003315/8.937, allocations: 1.487 MB / 3.447 GB, free: 79.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/8.937, allocations: 480.4 kB / 3.448 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/8.937, allocations: 0 / 3.448 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/8.937, allocations: 7.875 kB / 3.448 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/8.939, allocations: 273.9 kB / 3.448 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005731/8.94, allocations: 1.187 MB / 3.449 GB, free: 77.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/8.941, allocations: 204 kB / 3.449 GB, free: 77.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/8.941, allocations: 39.67 kB / 3.45 GB, free: 77.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/8.941, allocations: 3.094 kB / 3.45 GB, free: 77.91 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003038/8.944, allocations: 1.371 MB / 3.451 GB, free: 77.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/8.944, allocations: 3.594 kB / 3.451 GB, free: 77.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/8.944, allocations: 6.781 kB / 3.451 GB, free: 77.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/8.946, allocations: 261.8 kB / 3.451 GB, free: 77.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/8.946, allocations: 7.844 kB / 3.451 GB, free: 77.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/8.947, allocations: 199.8 kB / 3.451 GB, free: 77.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/8.947, allocations: 42.78 kB / 3.451 GB, free: 77.84 MB / 0.6355 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.0008429/8.948, allocations: 376.2 kB / 3.452 GB, free: 77.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/8.948, allocations: 104.7 kB / 3.452 GB, free: 77.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/8.952, allocations: 1.492 MB / 3.453 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/8.952, allocations: 9.219 kB / 3.453 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/8.952, allocations: 0 / 3.453 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/8.952, allocations: 3.938 kB / 3.453 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/8.957, allocations: 2.991 MB / 3.456 GB, free: 77.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/8.957, allocations: 3.5 kB / 3.456 GB, free: 77.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/8.959, allocations: 263.9 kB / 3.456 GB, free: 77.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/8.959, allocations: 7.5 kB / 3.456 GB, free: 77.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/8.959, allocations: 28.28 kB / 3.457 GB, free: 77.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/8.959, allocations: 1.192 MB / 3.458 GB, free: 75.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/8.959, allocations: 5.938 kB / 3.458 GB, free: 75.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/8.962, allocations: 1.77 MB / 3.459 GB, free: 75.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/8.963, allocations: 314.8 kB / 3.46 GB, free: 75.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/8.963, allocations: 20.56 kB / 3.46 GB, free: 75.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/8.965, allocations: 173.3 kB / 3.46 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/8.965, allocations: 55.86 kB / 3.46 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/8.965, allocations: 39.55 kB / 3.46 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008441/8.966, allocations: 0.5602 MB / 3.461 GB, free: 75.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/8.966, allocations: 0 / 3.461 GB, free: 75.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002788/8.968, allocations: 0.7734 MB / 3.461 GB, free: 75.03 MB / 0.6355 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.004078/8.972, allocations: 2.362 MB / 3.464 GB, free: 74.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005241/8.978, allocations: 2.215 MB / 3.466 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/8.978, allocations: 0 / 3.466 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/8.979, allocations: 0.7301 MB / 3.466 GB, free: 74.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/8.982, allocations: 0.4996 MB / 3.467 GB, free: 74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/8.997, allocations: 3.29 MB / 3.47 GB, free: 72.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/8.998, allocations: 1.119 MB / 3.471 GB, free: 72.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002028/9, allocations: 417.2 kB / 3.472 GB, free: 72.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/9, allocations: 100.3 kB / 3.472 GB, free: 72.21 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/9, allocations: 0 / 3.472 GB, free: 72.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.05955/9.059, allocations: 45.97 MB / 3.517 GB, free: 69.72 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)