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: "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 183.6 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.5053/0.5053, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.501/1.501, allocations: 223.1 MB / 354.3 MB, free: 10.46 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.001013/0.001013, allocations: 92.27 kB / 427.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 72.32 MB / 0.5689 GB, free: 1.602 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/4.622, allocations: 1.849 GB / 2.418 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/4.622, allocations: 87.95 kB / 2.418 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.224/8.846, allocations: 1.01 GB / 3.428 GB, free: 84.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/8.846, allocations: 0.9375 kB / 3.428 GB, free: 84.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000188/8.846, allocations: 33.03 kB / 3.428 GB, free: 84.57 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.008286/8.854, allocations: 1.975 MB / 3.43 GB, free: 83.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/8.854, allocations: 10.94 kB / 3.43 GB, free: 83.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005666/8.855, allocations: 134.3 kB / 3.43 GB, free: 83.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/8.859, allocations: 0.541 MB / 3.43 GB, free: 83.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/8.862, allocations: 1.074 MB / 3.432 GB, free: 83.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006697/8.863, allocations: 199.6 kB / 3.432 GB, free: 83.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/8.863, allocations: 82.41 kB / 3.432 GB, free: 83.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/8.867, allocations: 1.345 MB / 3.433 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/8.867, allocations: 3.703 kB / 3.433 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/8.867, allocations: 33.09 kB / 3.433 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/8.867, allocations: 45.14 kB / 3.433 GB, free: 83.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/8.871, allocations: 1.501 MB / 3.435 GB, free: 83.38 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.008187/8.879, allocations: 4.21 MB / 3.439 GB, free: 81.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/8.882, allocations: 1.069 MB / 3.44 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/8.882, allocations: 0.6079 MB / 3.44 GB, free: 81.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/8.883, allocations: 46.97 kB / 3.44 GB, free: 81.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/8.883, allocations: 0 / 3.44 GB, free: 81.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.005176/8.888, allocations: 1.985 MB / 3.442 GB, free: 81.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/8.888, allocations: 61.88 kB / 3.442 GB, free: 81.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/8.889, allocations: 0.71 MB / 3.443 GB, free: 80.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/8.889, allocations: 45.94 kB / 3.443 GB, free: 80.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/8.889, allocations: 440.6 kB / 3.444 GB, free: 80.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/8.889, allocations: 260.3 kB / 3.444 GB, free: 80.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/8.89, allocations: 15.41 kB / 3.444 GB, free: 80.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/8.89, allocations: 334.9 kB / 3.444 GB, free: 80.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/8.891, allocations: 0.5914 MB / 3.445 GB, free: 80.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/8.892, allocations: 0.7379 MB / 3.446 GB, free: 80.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/8.894, allocations: 0.6438 MB / 3.446 GB, free: 80.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/8.894, allocations: 3.875 kB / 3.446 GB, free: 80.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003243/8.897, allocations: 1.481 MB / 3.448 GB, free: 79.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/8.897, allocations: 480.2 kB / 3.448 GB, free: 79.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/8.897, allocations: 5.062 kB / 3.448 GB, free: 79.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/8.897, allocations: 10.95 kB / 3.448 GB, free: 79.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/8.899, allocations: 281.6 kB / 3.448 GB, free: 79.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005348/8.899, allocations: 1.194 MB / 3.449 GB, free: 78.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/8.901, allocations: 200.1 kB / 3.45 GB, free: 78.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/8.901, allocations: 37.92 kB / 3.45 GB, free: 78.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/8.901, allocations: 4.656 kB / 3.45 GB, free: 78.31 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002999/8.904, allocations: 1.369 MB / 3.451 GB, free: 78.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/8.904, allocations: 9.562 kB / 3.451 GB, free: 78.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/8.904, allocations: 3.469 kB / 3.451 GB, free: 78.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/8.905, allocations: 258.8 kB / 3.451 GB, free: 78.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/8.905, allocations: 7.812 kB / 3.451 GB, free: 78.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/8.907, allocations: 200.2 kB / 3.452 GB, free: 78.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/8.907, allocations: 40.75 kB / 3.452 GB, free: 78.24 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.0007965/8.908, allocations: 377.7 kB / 3.452 GB, free: 78.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/8.908, allocations: 107.7 kB / 3.452 GB, free: 78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/8.911, allocations: 1.491 MB / 3.453 GB, free: 77.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/8.911, allocations: 8.469 kB / 3.453 GB, free: 77.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/8.911, allocations: 0 / 3.453 GB, free: 77.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/8.911, allocations: 3.75 kB / 3.453 GB, free: 77.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/8.917, allocations: 3.001 MB / 3.456 GB, free: 77.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/8.917, allocations: 0 / 3.456 GB, free: 77.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/8.918, allocations: 254.9 kB / 3.457 GB, free: 77.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/8.918, allocations: 7.812 kB / 3.457 GB, free: 77.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/8.918, allocations: 31.69 kB / 3.457 GB, free: 77.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000405/8.918, allocations: 1.197 MB / 3.458 GB, free: 76.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/8.918, allocations: 2.656 kB / 3.458 GB, free: 76.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/8.922, allocations: 1.762 MB / 3.46 GB, free: 75.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006385/8.922, allocations: 317.2 kB / 3.46 GB, free: 75.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/8.922, allocations: 22.84 kB / 3.46 GB, free: 75.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/8.924, allocations: 169.6 kB / 3.46 GB, free: 75.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/8.924, allocations: 61.02 kB / 3.46 GB, free: 75.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/8.924, allocations: 35.8 kB / 3.46 GB, free: 75.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007163/8.925, allocations: 0.5595 MB / 3.461 GB, free: 75.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/8.925, allocations: 2.156 kB / 3.461 GB, free: 75.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002429/8.927, allocations: 0.7711 MB / 3.461 GB, free: 75.44 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.006771/8.934, allocations: 5.607 MB / 3.467 GB, free: 72.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005063/8.939, allocations: 2.213 MB / 3.469 GB, free: 72.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/8.939, allocations: 7.875 kB / 3.469 GB, free: 72.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/8.941, allocations: 0.7265 MB / 3.47 GB, free: 72.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/8.943, allocations: 0.4969 MB / 3.47 GB, free: 72.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/8.959, allocations: 4.451 MB / 3.475 GB, free: 70.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/8.96, allocations: 1.119 MB / 3.476 GB, free: 69.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001853/8.962, allocations: 415.3 kB / 3.476 GB, free: 69.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/8.963, allocations: 393.9 kB / 3.477 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/8.963, allocations: 0 / 3.477 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09631/9.059, allocations: 62.27 MB / 3.537 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/9.059, allocations: 256 kB / 3.538 GB, free: 53.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/13.1, allocations: 0 / 3.538 GB, free: 53.45 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)