Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_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.013/0.013, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.211/1.211, allocations: 135.2 MB / 151 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.409/2.409, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.001329/0.001329, allocations: 94.34 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005526, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.7573, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.916/8.674, allocations: 1.859 GB / 2.508 GB, free: 118 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004867/8.674, allocations: 91.89 kB / 2.508 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.291/15.97, allocations: 1.01 GB / 3.518 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.332e-06/15.97, allocations: 0 / 3.518 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000393/15.97, allocations: 35.27 kB / 3.518 GB, free: 105.7 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.01613/15.98, allocations: 1.968 MB / 3.52 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001089/15.98, allocations: 7.312 kB / 3.52 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001219/15.98, allocations: 134.9 kB / 3.52 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/15.99, allocations: 0.5502 MB / 3.521 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00795/16, allocations: 1.075 MB / 3.522 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001287/16, allocations: 203 kB / 3.522 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009873/16, allocations: 82.97 kB / 3.522 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008226/16.01, allocations: 1.343 MB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.985e-05/16.01, allocations: 0 / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/16.01, allocations: 30.69 kB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/16.01, allocations: 42.55 kB / 3.524 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007011/16.02, allocations: 1.503 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.01438/16.03, allocations: 4.203 MB / 3.529 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/16.04, allocations: 1.079 MB / 3.53 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/16.04, allocations: 0.604 MB / 3.531 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.56e-05/16.04, allocations: 41.78 kB / 3.531 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 7.504e-06/16.04, allocations: 0 / 3.531 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.009689/16.05, allocations: 1.989 MB / 3.533 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/16.05, allocations: 62 kB / 3.533 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/16.05, allocations: 0.7074 MB / 3.534 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003024/16.05, allocations: 46.64 kB / 3.534 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/16.05, allocations: 448.6 kB / 3.534 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/16.05, allocations: 258.2 kB / 3.534 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/16.05, allocations: 15.31 kB / 3.534 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001965/16.05, allocations: 335.8 kB / 3.535 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/16.06, allocations: 0.5871 MB / 3.535 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/16.06, allocations: 0.7422 MB / 3.536 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/16.06, allocations: 0.6409 MB / 3.537 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/16.06, allocations: 3.844 kB / 3.537 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006706/16.07, allocations: 1.481 MB / 3.538 GB, free: 101 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004582/16.07, allocations: 481.3 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/16.07, allocations: 0 / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-05/16.07, allocations: 3.125 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/16.07, allocations: 279 kB / 3.539 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/16.07, allocations: 1.2 MB / 3.54 GB, free: 99.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/16.08, allocations: 203.9 kB / 3.54 GB, free: 99.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/16.08, allocations: 36.58 kB / 3.54 GB, free: 99.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/16.08, allocations: 3.531 kB / 3.54 GB, free: 99.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005901/16.08, allocations: 1.373 MB / 3.542 GB, free: 99.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/16.08, allocations: 0 / 3.542 GB, free: 99.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/16.08, allocations: 7.844 kB / 3.542 GB, free: 99.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/16.08, allocations: 266.4 kB / 3.542 GB, free: 99.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.572e-05/16.08, allocations: 6.031 kB / 3.542 GB, free: 99.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/16.09, allocations: 198.9 kB / 3.542 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/16.09, allocations: 40.91 kB / 3.542 GB, free: 99.27 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.001381/16.09, allocations: 379.9 kB / 3.542 GB, free: 99.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/16.09, allocations: 103.9 kB / 3.543 GB, free: 99.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006488/16.1, allocations: 1.493 MB / 3.544 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/16.1, allocations: 11.58 kB / 3.544 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/16.1, allocations: 0 / 3.544 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/16.1, allocations: 3.281 kB / 3.544 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/16.11, allocations: 2.991 MB / 3.547 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/16.11, allocations: 3.281 kB / 3.547 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/16.11, allocations: 260.8 kB / 3.547 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.952e-05/16.11, allocations: 7.062 kB / 3.547 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/16.11, allocations: 30.28 kB / 3.547 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007276/16.11, allocations: 1.199 MB / 3.548 GB, free: 97.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/16.11, allocations: 3.469 kB / 3.548 GB, free: 97.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/16.12, allocations: 1.761 MB / 3.55 GB, free: 96.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/16.12, allocations: 316.4 kB / 3.55 GB, free: 96.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/16.12, allocations: 19.53 kB / 3.55 GB, free: 96.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/16.12, allocations: 176.2 kB / 3.551 GB, free: 96.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/16.12, allocations: 63.44 kB / 3.551 GB, free: 96.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/16.12, allocations: 37.33 kB / 3.551 GB, free: 96.58 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00206/16.12, allocations: 0.557 MB / 3.551 GB, free: 96.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/16.12, allocations: 0 / 3.551 GB, free: 96.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005905/16.13, allocations: 0.7666 MB / 3.552 GB, free: 96.42 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.01506/16.15, allocations: 5.607 MB / 3.557 GB, free: 93.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01042/16.16, allocations: 2.218 MB / 3.56 GB, free: 93.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/16.16, allocations: 0 / 3.56 GB, free: 93.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003321/16.16, allocations: 0.7315 MB / 3.56 GB, free: 93.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/16.16, allocations: 0.4947 MB / 3.561 GB, free: 93.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/16.19, allocations: 4.461 MB / 3.565 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/16.2, allocations: 1.113 MB / 3.566 GB, free: 90.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004404/16.2, allocations: 413.3 kB / 3.567 GB, free: 90.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/16.2, allocations: 397.1 kB / 3.567 GB, free: 90.67 MB / 0.7136 GB Notification: Performance of SimCode: time 2.275e-06/16.2, allocations: 2.719 kB / 3.567 GB, free: 90.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/16.38, allocations: 62.27 MB / 3.628 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/16.38, allocations: 252 kB / 3.628 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/23.24, allocations: 0 / 3.628 GB, free: 54.22 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)