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.001688/0.001688, allocations: 175 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.8255/0.8255, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.749/1.749, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.00119/0.00119, allocations: 95.41 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.946e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2131, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.626/5.839, allocations: 1.859 GB / 2.499 GB, free: 36.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/5.839, allocations: 95.98 kB / 2.499 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.027/9.867, allocations: 1.009 GB / 3.509 GB, free: 75.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.374e-06/9.867, allocations: 4 kB / 3.509 GB, free: 75.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001831/9.867, allocations: 31.98 kB / 3.509 GB, free: 75 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.007041/9.874, allocations: 1.785 MB / 3.51 GB, free: 73.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/9.874, allocations: 12.03 kB / 3.51 GB, free: 73.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005365/9.875, allocations: 139 kB / 3.51 GB, free: 73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/9.878, allocations: 0.5445 MB / 3.511 GB, free: 72.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/9.882, allocations: 1.076 MB / 3.512 GB, free: 71.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006325/9.883, allocations: 194.8 kB / 3.512 GB, free: 71.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/9.883, allocations: 84 kB / 3.512 GB, free: 71.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/9.885, allocations: 1.134 MB / 3.513 GB, free: 69.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/9.885, allocations: 0 / 3.513 GB, free: 69.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/9.886, allocations: 43.08 kB / 3.513 GB, free: 69.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/9.886, allocations: 49.91 kB / 3.514 GB, free: 69.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/9.888, allocations: 1.113 MB / 3.515 GB, free: 68.76 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.007645/9.895, allocations: 4.19 MB / 3.519 GB, free: 64.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/9.897, allocations: 0.7571 MB / 3.519 GB, free: 63.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/9.897, allocations: 0.5096 MB / 3.52 GB, free: 63.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/9.898, allocations: 0.6113 MB / 3.521 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/9.898, allocations: 43.34 kB / 3.521 GB, free: 62.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.204e-06/9.898, allocations: 0 / 3.521 GB, free: 62.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002107/9.901, allocations: 1.014 MB / 3.522 GB, free: 61.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/9.901, allocations: 64.12 kB / 3.522 GB, free: 61.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/9.902, allocations: 0.7054 MB / 3.522 GB, free: 60.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/9.902, allocations: 45.7 kB / 3.522 GB, free: 60.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/9.902, allocations: 444.6 kB / 3.523 GB, free: 59.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/9.902, allocations: 263.6 kB / 3.523 GB, free: 59.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/9.902, allocations: 16 kB / 3.523 GB, free: 59.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/9.902, allocations: 337.9 kB / 3.523 GB, free: 59.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/9.903, allocations: 401.4 kB / 3.524 GB, free: 58.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/9.904, allocations: 0.5436 MB / 3.524 GB, free: 58.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/9.904, allocations: 463.2 kB / 3.525 GB, free: 57.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/9.904, allocations: 0 / 3.525 GB, free: 57.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001751/9.906, allocations: 1.102 MB / 3.526 GB, free: 56.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/9.906, allocations: 485.7 kB / 3.526 GB, free: 56.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/9.906, allocations: 0 / 3.526 GB, free: 56.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/9.906, allocations: 12.09 kB / 3.526 GB, free: 56.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/9.908, allocations: 267.7 kB / 3.527 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005222/9.908, allocations: 1.192 MB / 3.528 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/9.91, allocations: 199.3 kB / 3.528 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/9.91, allocations: 43.97 kB / 3.528 GB, free: 54.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/9.91, allocations: 4 kB / 3.528 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/9.912, allocations: 0.9921 MB / 3.529 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/9.912, allocations: 0 / 3.529 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/9.912, allocations: 11.98 kB / 3.529 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/9.913, allocations: 259.8 kB / 3.529 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/9.913, allocations: 11.88 kB / 3.529 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/9.914, allocations: 195.1 kB / 3.529 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/9.914, allocations: 43.92 kB / 3.529 GB, free: 53.05 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.0002589/9.915, allocations: 152.8 kB / 3.53 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/9.915, allocations: 106.7 kB / 3.53 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/9.917, allocations: 1.108 MB / 3.531 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/9.917, allocations: 12 kB / 3.531 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/9.917, allocations: 0 / 3.531 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/9.917, allocations: 3.984 kB / 3.531 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/9.921, allocations: 2.619 MB / 3.533 GB, free: 48.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/9.921, allocations: 4 kB / 3.533 GB, free: 48.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/9.922, allocations: 263.7 kB / 3.534 GB, free: 48.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/9.922, allocations: 4 kB / 3.534 GB, free: 48.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/9.922, allocations: 23.98 kB / 3.534 GB, free: 48.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003919/9.923, allocations: 1.199 MB / 3.535 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/9.923, allocations: 4 kB / 3.535 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/9.924, allocations: 1.389 MB / 3.536 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/9.925, allocations: 327.4 kB / 3.536 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/9.925, allocations: 12 kB / 3.536 GB, free: 45.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/9.927, allocations: 175.7 kB / 3.537 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/9.927, allocations: 64.38 kB / 3.537 GB, free: 45.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/9.927, allocations: 39.91 kB / 3.537 GB, free: 45.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007684/9.928, allocations: 0.5508 MB / 3.537 GB, free: 44.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.928, allocations: 0 / 3.537 GB, free: 44.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002715/9.93, allocations: 0.7685 MB / 3.538 GB, free: 43.9 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.005203/9.936, allocations: 5.218 MB / 3.543 GB, free: 38.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002829/9.938, allocations: 1.67 MB / 3.545 GB, free: 36.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/9.939, allocations: 384 / 3.545 GB, free: 36.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/9.939, allocations: 0.5418 MB / 3.545 GB, free: 36.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/9.942, allocations: 0.4993 MB / 3.546 GB, free: 35.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/9.956, allocations: 2.612 MB / 3.548 GB, free: 33.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/9.957, allocations: 1.124 MB / 3.549 GB, free: 31.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002413/9.959, allocations: 486.2 kB / 3.55 GB, free: 31.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/9.96, allocations: 379.3 kB / 3.55 GB, free: 31.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/9.96, allocations: 0 / 3.55 GB, free: 31.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6139/10.57, allocations: 69.93 MB / 3.618 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/10.57, allocations: 212.7 kB / 3.619 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.589/15.16, allocations: 0 / 3.619 GB, free: 111.5 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)