Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_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.008844/0.008844, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7667/0.7667, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 406.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 100.3 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5056, allocations: 82.29 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.781/5.287, allocations: 1.859 GB / 2.508 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/5.288, allocations: 89.39 kB / 2.508 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.797/9.084, allocations: 1.01 GB / 3.518 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/9.084, allocations: 0 / 3.518 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.42e-05/9.085, allocations: 34.66 kB / 3.518 GB, free: 105.8 MB / 0.7136 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.006862/9.091, allocations: 1.966 MB / 3.52 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/9.092, allocations: 9.156 kB / 3.52 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/9.092, allocations: 131.3 kB / 3.52 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/9.095, allocations: 0.5505 MB / 3.521 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/9.098, allocations: 1.082 MB / 3.522 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006136/9.098, allocations: 201.5 kB / 3.522 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/9.099, allocations: 82.56 kB / 3.522 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/9.101, allocations: 1.339 MB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/9.101, allocations: 2.25 kB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/9.101, allocations: 31.34 kB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/9.102, allocations: 45.56 kB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/9.105, allocations: 1.507 MB / 3.525 GB, free: 104.4 MB / 0.7136 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.006794/9.112, allocations: 4.198 MB / 3.529 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/9.114, allocations: 1.072 MB / 3.53 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009127/9.115, allocations: 0.6103 MB / 3.531 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/9.115, allocations: 43.84 kB / 3.531 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.397e-06/9.115, allocations: 0 / 3.531 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004807/9.12, allocations: 1.982 MB / 3.533 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/9.12, allocations: 66.77 kB / 3.533 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/9.121, allocations: 0.7059 MB / 3.534 GB, free: 102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/9.121, allocations: 45.48 kB / 3.534 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/9.121, allocations: 449.6 kB / 3.534 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/9.121, allocations: 260.6 kB / 3.534 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/9.122, allocations: 11.88 kB / 3.534 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/9.122, allocations: 333 kB / 3.535 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/9.123, allocations: 0.5976 MB / 3.535 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/9.124, allocations: 0.741 MB / 3.536 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/9.126, allocations: 0.6411 MB / 3.537 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/9.126, allocations: 2.75 kB / 3.537 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003351/9.129, allocations: 1.473 MB / 3.538 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/9.129, allocations: 487.7 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/9.129, allocations: 6.875 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/9.129, allocations: 3.844 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/9.131, allocations: 268.9 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005538/9.132, allocations: 1.204 MB / 3.54 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/9.133, allocations: 202.2 kB / 3.54 GB, free: 99.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/9.133, allocations: 37.28 kB / 3.54 GB, free: 99.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/9.133, allocations: 5.344 kB / 3.54 GB, free: 99.38 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002953/9.136, allocations: 1.374 MB / 3.542 GB, free: 99.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/9.136, allocations: 0 / 3.542 GB, free: 99.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/9.136, allocations: 8.719 kB / 3.542 GB, free: 99.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/9.137, allocations: 257.5 kB / 3.542 GB, free: 99.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/9.137, allocations: 11.33 kB / 3.542 GB, free: 99.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/9.139, allocations: 198.5 kB / 3.542 GB, free: 99.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/9.139, allocations: 39.23 kB / 3.542 GB, free: 99.29 MB / 0.7136 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.0007357/9.14, allocations: 380.3 kB / 3.542 GB, free: 99.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/9.14, allocations: 103.4 kB / 3.543 GB, free: 99.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/9.143, allocations: 1.498 MB / 3.544 GB, free: 98.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/9.143, allocations: 10.31 kB / 3.544 GB, free: 98.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/9.143, allocations: 0 / 3.544 GB, free: 98.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/9.143, allocations: 3.75 kB / 3.544 GB, free: 98.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/9.149, allocations: 2.993 MB / 3.547 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/9.149, allocations: 3.906 kB / 3.547 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/9.151, allocations: 259.3 kB / 3.547 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/9.151, allocations: 10.5 kB / 3.547 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/9.151, allocations: 27.22 kB / 3.547 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004244/9.151, allocations: 1.195 MB / 3.548 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/9.151, allocations: 8.219 kB / 3.548 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/9.155, allocations: 1.762 MB / 3.55 GB, free: 96.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/9.156, allocations: 316.1 kB / 3.55 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/9.156, allocations: 19.91 kB / 3.55 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/9.158, allocations: 174.4 kB / 3.551 GB, free: 96.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/9.158, allocations: 64.08 kB / 3.551 GB, free: 96.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/9.158, allocations: 40.69 kB / 3.551 GB, free: 96.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009113/9.159, allocations: 0.562 MB / 3.551 GB, free: 96.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/9.159, allocations: 3.469 kB / 3.551 GB, free: 96.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003008/9.162, allocations: 0.7583 MB / 3.552 GB, free: 96.43 MB / 0.7136 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.007477/9.169, allocations: 5.603 MB / 3.557 GB, free: 93.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005277/9.175, allocations: 2.217 MB / 3.56 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/9.175, allocations: 0 / 3.56 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/9.176, allocations: 0.7275 MB / 3.56 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/9.179, allocations: 0.5005 MB / 3.561 GB, free: 93.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/9.199, allocations: 4.45 MB / 3.565 GB, free: 91.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/9.2, allocations: 1.121 MB / 3.566 GB, free: 90.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002557/9.202, allocations: 413.8 kB / 3.567 GB, free: 90.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008907/9.203, allocations: 397.9 kB / 3.567 GB, free: 90.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.655e-06/9.203, allocations: 0 / 3.567 GB, free: 90.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09368/9.297, allocations: 62.27 MB / 3.628 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/9.297, allocations: 248.3 kB / 3.628 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/13.44, allocations: 0 / 3.628 GB, free: 54.05 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)