Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.006584/0.006584, 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 0.7635/0.7635, allocations: 135.2 MB / 151 MB, free: 13.82 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.661/1.661, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001218/0.001218, allocations: 100.4 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 12 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5212, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.994/5.516, allocations: 1.864 GB / 2.514 GB, free: 71.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.516, allocations: 98.02 kB / 2.514 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.38/16.89, allocations: 2.84 GB / 5.353 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.966e-06/16.89, allocations: 0 / 5.353 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002796/16.89, allocations: 63.98 kB / 5.353 GB, free: 7.078 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01343/16.91, allocations: 3.918 MB / 5.357 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/16.91, allocations: 8.031 kB / 5.357 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001239/16.91, allocations: 303.6 kB / 5.357 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/16.92, allocations: 1.198 MB / 5.359 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00844/16.92, allocations: 2.589 MB / 5.361 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001422/16.93, allocations: 448 kB / 5.361 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/16.93, allocations: 224 kB / 5.362 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00841/16.94, allocations: 3.126 MB / 5.365 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/16.94, allocations: 3.938 kB / 5.365 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/16.94, allocations: 88 kB / 5.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/16.94, allocations: 88 kB / 5.365 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008092/16.94, allocations: 3.228 MB / 5.368 GB, free: 7.516 MB / 0.8073 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.7805/17.72, allocations: 14.06 MB / 5.382 GB, free: 58.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/17.73, allocations: 1.719 MB / 5.383 GB, free: 58.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/17.73, allocations: 332.5 kB / 5.384 GB, free: 57.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/17.73, allocations: 51.91 kB / 5.384 GB, free: 57.74 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002389/17.73, allocations: 211.1 kB / 5.384 GB, free: 57.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 8.416e-06/17.73, allocations: 0 / 5.384 GB, free: 57.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.006569/17.74, allocations: 2.392 MB / 5.386 GB, free: 57.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/17.74, allocations: 61.62 kB / 5.386 GB, free: 57.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/17.74, allocations: 2.252 MB / 5.389 GB, free: 57.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006895/17.75, allocations: 58.61 kB / 5.389 GB, free: 57.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/17.75, allocations: 1.274 MB / 5.39 GB, free: 56.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007484/17.75, allocations: 393.9 kB / 5.39 GB, free: 56.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/17.75, allocations: 36.91 kB / 5.39 GB, free: 56.74 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001523/17.75, allocations: 372.8 kB / 5.391 GB, free: 56.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/17.75, allocations: 0.993 MB / 5.392 GB, free: 56.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/17.75, allocations: 1.662 MB / 5.393 GB, free: 55.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/17.76, allocations: 1.219 MB / 5.394 GB, free: 55.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/17.76, allocations: 5.594 kB / 5.394 GB, free: 55.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008079/17.76, allocations: 2.878 MB / 5.397 GB, free: 55.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001478/17.77, allocations: 5.779 MB / 5.403 GB, free: 49.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/17.77, allocations: 14.25 kB / 5.403 GB, free: 49.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.345e-05/17.77, allocations: 26.28 kB / 5.403 GB, free: 49.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/17.77, allocations: 0.558 MB / 5.404 GB, free: 49.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/17.77, allocations: 2.392 MB / 5.406 GB, free: 46.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/17.78, allocations: 475.6 kB / 5.406 GB, free: 46.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/17.78, allocations: 96.41 kB / 5.406 GB, free: 46.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/17.78, allocations: 4.688 kB / 5.406 GB, free: 46.89 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006023/17.78, allocations: 2.643 MB / 5.409 GB, free: 46.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/17.78, allocations: 11.56 kB / 5.409 GB, free: 46.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/17.78, allocations: 26.86 kB / 5.409 GB, free: 46.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/17.78, allocations: 0.5367 MB / 5.41 GB, free: 46.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/17.78, allocations: 31.08 kB / 5.41 GB, free: 46.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/17.79, allocations: 403 kB / 5.41 GB, free: 46.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/17.79, allocations: 91.36 kB / 5.41 GB, free: 46.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001929/17.79, allocations: 0.6298 MB / 5.411 GB, free: 46.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/17.79, allocations: 263.3 kB / 5.411 GB, free: 46.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/17.8, allocations: 1.872 MB / 5.413 GB, free: 46.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/17.8, allocations: 11.25 kB / 5.413 GB, free: 46.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/17.8, allocations: 0 / 5.413 GB, free: 46.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/17.8, allocations: 12.22 kB / 5.413 GB, free: 46.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/17.81, allocations: 4.495 MB / 5.417 GB, free: 45.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/17.81, allocations: 3.938 kB / 5.417 GB, free: 45.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/17.81, allocations: 314.9 kB / 5.417 GB, free: 45.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-05/17.81, allocations: 15.77 kB / 5.417 GB, free: 45.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/17.81, allocations: 30.5 kB / 5.417 GB, free: 45.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/17.81, allocations: 2.371 MB / 5.42 GB, free: 43.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/17.81, allocations: 8.594 kB / 5.42 GB, free: 43.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/17.82, allocations: 2.491 MB / 5.422 GB, free: 42.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/17.82, allocations: 0.5483 MB / 5.423 GB, free: 42.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008265/17.82, allocations: 27.36 kB / 5.423 GB, free: 42.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/17.82, allocations: 282 kB / 5.423 GB, free: 42.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/17.82, allocations: 82.27 kB / 5.423 GB, free: 42.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/17.82, allocations: 67.7 kB / 5.423 GB, free: 42.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003782/17.83, allocations: 1.745 MB / 5.425 GB, free: 41.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.41e-07/17.83, allocations: 0 / 5.425 GB, free: 41.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009314/17.83, allocations: 1.933 MB / 5.427 GB, free: 41.82 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01848/17.85, allocations: 12.02 MB / 5.439 GB, free: 34.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01095/17.86, allocations: 3.668 MB / 5.442 GB, free: 34.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/17.86, allocations: 3.312 kB / 5.442 GB, free: 34.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/17.87, allocations: 0.8141 MB / 5.443 GB, free: 34.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007768/17.87, allocations: 1.196 MB / 5.444 GB, free: 34.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/17.9, allocations: 16.39 MB / 5.46 GB, free: 37.05 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/17.9, allocations: 1.749 MB / 5.462 GB, free: 36.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006539/17.91, allocations: 0.7895 MB / 5.463 GB, free: 36.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/17.91, allocations: 1.009 MB / 5.464 GB, free: 36.27 MB / 0.823 GB Notification: Performance of SimCode: time 1.433e-06/17.91, allocations: 0 / 5.464 GB, free: 36.27 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2766/18.19, allocations: 151.1 MB / 5.611 GB, free: 26.43 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/18.19, allocations: 254.8 kB / 5.611 GB, free: 26.12 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/26.92, allocations: 0 / 5.611 GB, free: 26.12 MB / 0.823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)