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.001584/0.001584, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7661/0.7661, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.655/1.655, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001212, allocations: 102.2 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/4.042e-05, allocations: 6 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2146, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.681/5.896, allocations: 1.859 GB / 2.499 GB, free: 36.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/5.896, allocations: 83.83 kB / 2.499 GB, free: 36.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.091/9.987, allocations: 1.009 GB / 3.509 GB, free: 75.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/9.987, allocations: 0 / 3.509 GB, free: 75.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001479/9.987, allocations: 31.98 kB / 3.509 GB, free: 75.73 MB / 0.698 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.006476/9.994, allocations: 1.79 MB / 3.51 GB, free: 73.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/9.994, allocations: 8.031 kB / 3.51 GB, free: 73.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004246/9.994, allocations: 135 kB / 3.51 GB, free: 73.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/9.998, allocations: 0.5434 MB / 3.511 GB, free: 73.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/10, allocations: 1.072 MB / 3.512 GB, free: 72.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006473/10, allocations: 192.8 kB / 3.512 GB, free: 71.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/10, allocations: 84 kB / 3.512 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/10, allocations: 1.142 MB / 3.513 GB, free: 70.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/10, allocations: 0 / 3.513 GB, free: 70.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/10, allocations: 35.98 kB / 3.513 GB, free: 70.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/10, allocations: 41.98 kB / 3.514 GB, free: 70.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/10.01, allocations: 1.113 MB / 3.515 GB, free: 69.51 MB / 0.698 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.007372/10.01, allocations: 4.2 MB / 3.519 GB, free: 65.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/10.01, allocations: 0.7534 MB / 3.519 GB, free: 64.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/10.02, allocations: 0.5074 MB / 3.52 GB, free: 63.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008766/10.02, allocations: 0.6115 MB / 3.521 GB, free: 63.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/10.02, allocations: 46.92 kB / 3.521 GB, free: 63.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.047e-06/10.02, allocations: 0 / 3.521 GB, free: 63.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002063/10.02, allocations: 1.018 MB / 3.522 GB, free: 62.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/10.02, allocations: 56.19 kB / 3.522 GB, free: 61.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/10.02, allocations: 0.7054 MB / 3.522 GB, free: 61.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/10.02, allocations: 45.2 kB / 3.522 GB, free: 61.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/10.02, allocations: 448.6 kB / 3.523 GB, free: 60.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/10.02, allocations: 260.2 kB / 3.523 GB, free: 60.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/10.02, allocations: 12 kB / 3.523 GB, free: 60.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/10.02, allocations: 333.9 kB / 3.523 GB, free: 60.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/10.02, allocations: 413.4 kB / 3.524 GB, free: 59.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/10.02, allocations: 0.5489 MB / 3.524 GB, free: 59.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/10.02, allocations: 458.4 kB / 3.525 GB, free: 58.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/10.02, allocations: 0 / 3.525 GB, free: 58.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001713/10.02, allocations: 1.101 MB / 3.526 GB, free: 57.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/10.02, allocations: 494.6 kB / 3.526 GB, free: 57.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/10.02, allocations: 0 / 3.526 GB, free: 57.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/10.02, allocations: 4 kB / 3.526 GB, free: 57.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/10.03, allocations: 275.6 kB / 3.527 GB, free: 56.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005355/10.03, allocations: 1.192 MB / 3.528 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/10.03, allocations: 199.2 kB / 3.528 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/10.03, allocations: 39.97 kB / 3.528 GB, free: 55.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/10.03, allocations: 4 kB / 3.528 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/10.03, allocations: 0.9959 MB / 3.529 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/10.03, allocations: 4 kB / 3.529 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/10.03, allocations: 4 kB / 3.529 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/10.03, allocations: 259.8 kB / 3.529 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/10.03, allocations: 7.938 kB / 3.529 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/10.03, allocations: 199.1 kB / 3.529 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/10.03, allocations: 43.92 kB / 3.529 GB, free: 53.79 MB / 0.698 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.0002613/10.03, allocations: 148.9 kB / 3.53 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/10.03, allocations: 102.7 kB / 3.53 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/10.03, allocations: 1.116 MB / 3.531 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/10.03, allocations: 11.98 kB / 3.531 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/10.03, allocations: 0 / 3.531 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/10.03, allocations: 3.984 kB / 3.531 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/10.04, allocations: 2.618 MB / 3.533 GB, free: 49.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/10.04, allocations: 4 kB / 3.533 GB, free: 49.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/10.04, allocations: 260.1 kB / 3.534 GB, free: 49.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/10.04, allocations: 8 kB / 3.534 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/10.04, allocations: 27.97 kB / 3.534 GB, free: 49.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004032/10.04, allocations: 1.188 MB / 3.535 GB, free: 48.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/10.04, allocations: 7.984 kB / 3.535 GB, free: 48.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/10.04, allocations: 1.393 MB / 3.536 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/10.04, allocations: 311.5 kB / 3.536 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/10.04, allocations: 28 kB / 3.536 GB, free: 46.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/10.05, allocations: 171.7 kB / 3.537 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/10.05, allocations: 52.45 kB / 3.537 GB, free: 46.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/10.05, allocations: 51.89 kB / 3.537 GB, free: 45.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007592/10.05, allocations: 0.5546 MB / 3.537 GB, free: 45.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/10.05, allocations: 0 / 3.537 GB, free: 45.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002748/10.05, allocations: 0.7607 MB / 3.538 GB, free: 44.64 MB / 0.698 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.005722/10.05, allocations: 5.22 MB / 3.543 GB, free: 39.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003061/10.06, allocations: 1.678 MB / 3.545 GB, free: 37.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/10.06, allocations: 4 kB / 3.545 GB, free: 37.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008762/10.06, allocations: 0.5314 MB / 3.545 GB, free: 36.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/10.06, allocations: 0.4925 MB / 3.546 GB, free: 36.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/10.08, allocations: 2.628 MB / 3.548 GB, free: 33.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/10.08, allocations: 1.116 MB / 3.549 GB, free: 32.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00226/10.08, allocations: 491 kB / 3.55 GB, free: 32.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/10.08, allocations: 383.3 kB / 3.55 GB, free: 31.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/10.08, allocations: 0 / 3.55 GB, free: 31.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5885/10.67, allocations: 69.92 MB / 3.618 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/10.67, allocations: 235.7 kB / 3.619 GB, free: 111 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.756/15.42, allocations: 0 / 3.619 GB, free: 111 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)