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.001374/0.001374, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4764/0.4764, allocations: 90.81 MB / 104.5 MB, free: 9.801 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.317/1.317, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008908, allocations: 104.4 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.824e-05, allocations: 4 kB / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3422, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.741/4.084, allocations: 1.849 GB / 2.409 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/4.084, allocations: 91.94 kB / 2.409 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537/7.621, allocations: 1.009 GB / 3.418 GB, free: 84.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/7.621, allocations: 0 / 3.418 GB, free: 84.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001753/7.621, allocations: 34.19 kB / 3.418 GB, free: 84.62 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.007375/7.629, allocations: 1.79 MB / 3.42 GB, free: 83.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/7.629, allocations: 11.67 kB / 3.42 GB, free: 83.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/7.632, allocations: 0.5469 MB / 3.421 GB, free: 83.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/7.636, allocations: 1.073 MB / 3.422 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007269/7.637, allocations: 197.2 kB / 3.422 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/7.637, allocations: 83.94 kB / 3.422 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/7.64, allocations: 1.138 MB / 3.423 GB, free: 83.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/7.64, allocations: 0 / 3.423 GB, free: 83.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/7.64, allocations: 30.56 kB / 3.423 GB, free: 83.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/7.64, allocations: 44.39 kB / 3.423 GB, free: 83.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/7.642, allocations: 1.116 MB / 3.424 GB, free: 83.35 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.008291/7.651, allocations: 4.214 MB / 3.428 GB, free: 81.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/7.652, allocations: 0.7551 MB / 3.429 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008083/7.653, allocations: 0.5106 MB / 3.43 GB, free: 81.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/7.654, allocations: 0.6055 MB / 3.43 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/7.654, allocations: 44.19 kB / 3.43 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 4.398e-06/7.654, allocations: 0 / 3.43 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.002445/7.656, allocations: 1.017 MB / 3.431 GB, free: 81.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/7.656, allocations: 66.31 kB / 3.431 GB, free: 80.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/7.658, allocations: 0.7002 MB / 3.432 GB, free: 80.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.926e-05/7.658, allocations: 41.77 kB / 3.432 GB, free: 80.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/7.658, allocations: 443.7 kB / 3.432 GB, free: 80.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/7.658, allocations: 269 kB / 3.433 GB, free: 80.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/7.658, allocations: 15.31 kB / 3.433 GB, free: 80.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001151/7.659, allocations: 334.4 kB / 3.433 GB, free: 80.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/7.659, allocations: 407.4 kB / 3.433 GB, free: 80.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/7.66, allocations: 0.5469 MB / 3.434 GB, free: 80 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/7.661, allocations: 461.7 kB / 3.434 GB, free: 79.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/7.661, allocations: 0 / 3.434 GB, free: 79.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001794/7.663, allocations: 1.095 MB / 3.435 GB, free: 79.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/7.663, allocations: 485 kB / 3.436 GB, free: 79.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/7.663, allocations: 3.375 kB / 3.436 GB, free: 79.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/7.663, allocations: 5.344 kB / 3.436 GB, free: 79.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/7.664, allocations: 276.8 kB / 3.436 GB, free: 79.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000573/7.665, allocations: 1.197 MB / 3.437 GB, free: 78.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/7.666, allocations: 200 kB / 3.438 GB, free: 78.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/7.666, allocations: 42.95 kB / 3.438 GB, free: 78.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/7.666, allocations: 7.219 kB / 3.438 GB, free: 78.12 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001455/7.668, allocations: 0.9926 MB / 3.439 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/7.668, allocations: 6.453 kB / 3.439 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/7.668, allocations: 3 kB / 3.439 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/7.669, allocations: 256.7 kB / 3.439 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/7.669, allocations: 10.73 kB / 3.439 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/7.67, allocations: 197.9 kB / 3.439 GB, free: 78.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/7.67, allocations: 40.44 kB / 3.439 GB, free: 78.04 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 () * 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.0002405/7.671, allocations: 145.9 kB / 3.439 GB, free: 77.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/7.671, allocations: 103.2 kB / 3.439 GB, free: 77.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/7.673, allocations: 1.115 MB / 3.44 GB, free: 77.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/7.673, allocations: 6.312 kB / 3.44 GB, free: 77.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/7.673, allocations: 7.625 kB / 3.44 GB, free: 77.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/7.673, allocations: 9.172 kB / 3.44 GB, free: 77.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/7.677, allocations: 2.601 MB / 3.443 GB, free: 77.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/7.677, allocations: 5.125 kB / 3.443 GB, free: 77.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/7.678, allocations: 265.2 kB / 3.443 GB, free: 77.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/7.678, allocations: 9.328 kB / 3.443 GB, free: 77.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/7.678, allocations: 26.2 kB / 3.443 GB, free: 77.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004289/7.679, allocations: 1.195 MB / 3.444 GB, free: 76.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/7.679, allocations: 5 kB / 3.444 GB, free: 76.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/7.681, allocations: 1.398 MB / 3.446 GB, free: 75.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/7.681, allocations: 319.3 kB / 3.446 GB, free: 75.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/7.681, allocations: 23.61 kB / 3.446 GB, free: 75.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/7.683, allocations: 164 kB / 3.446 GB, free: 75.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/7.683, allocations: 62.84 kB / 3.446 GB, free: 75.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/7.683, allocations: 41.97 kB / 3.446 GB, free: 75.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008202/7.684, allocations: 0.5466 MB / 3.447 GB, free: 74.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/7.684, allocations: 3.938 kB / 3.447 GB, free: 74.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002961/7.687, allocations: 0.771 MB / 3.448 GB, free: 74.61 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 () * 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.004455/7.691, allocations: 2.354 MB / 3.45 GB, free: 73.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003164/7.694, allocations: 1.679 MB / 3.452 GB, free: 72.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/7.694, allocations: 3.969 kB / 3.452 GB, free: 72.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009387/7.695, allocations: 0.5283 MB / 3.452 GB, free: 72.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/7.698, allocations: 0.5028 MB / 3.453 GB, free: 72.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/7.711, allocations: 2.363 MB / 3.455 GB, free: 71.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/7.712, allocations: 1.12 MB / 3.456 GB, free: 70.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002588/7.714, allocations: 487.6 kB / 3.456 GB, free: 70.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/7.715, allocations: 79.06 kB / 3.457 GB, free: 70.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/7.715, allocations: 0 / 3.457 GB, free: 70.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.0687/7.784, allocations: 53.38 MB / 3.509 GB, free: 19.54 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)