Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_dev_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.00969/0.00969, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9292/0.9292, allocations: 135.2 MB / 151 MB, free: 13.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.496/1.496, allocations: 223.2 MB / 406.8 MB, free: 3.199 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.001105/0.001105, allocations: 104.2 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.506, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.617/5.123, allocations: 1.864 GB / 2.514 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/5.124, allocations: 98.77 kB / 2.514 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.73/15.85, allocations: 2.84 GB / 5.353 GB, free: 39.81 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.205e-06/15.85, allocations: 0 / 5.353 GB, free: 39.81 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002049/15.85, allocations: 66.45 kB / 5.353 GB, free: 39.8 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.01124/15.87, allocations: 3.925 MB / 5.357 GB, free: 36.43 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/15.87, allocations: 12.03 kB / 5.357 GB, free: 36.41 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007992/15.87, allocations: 299.6 kB / 5.357 GB, free: 36.11 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009375/15.88, allocations: 1.198 MB / 5.359 GB, free: 34.91 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007191/15.88, allocations: 2.577 MB / 5.361 GB, free: 32.25 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/15.88, allocations: 444.2 kB / 5.361 GB, free: 31.82 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000891/15.89, allocations: 220 kB / 5.362 GB, free: 31.6 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005778/15.89, allocations: 3.126 MB / 5.365 GB, free: 28.31 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/15.89, allocations: 7.938 kB / 5.365 GB, free: 28.3 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/15.89, allocations: 92 kB / 5.365 GB, free: 28.21 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-05/15.89, allocations: 88 kB / 5.365 GB, free: 28.12 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006575/15.9, allocations: 3.228 MB / 5.368 GB, free: 24.88 MB / 0.7917 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.02058/15.92, allocations: 14.07 MB / 5.382 GB, free: 9.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/15.92, allocations: 1.723 MB / 5.383 GB, free: 8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/15.92, allocations: 321.2 kB / 5.384 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/15.92, allocations: 51.56 kB / 5.384 GB, free: 7.574 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001453/15.92, allocations: 218.3 kB / 5.384 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 4.178e-06/15.92, allocations: 4 kB / 5.384 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of matching and sorting (n=110): time 0.00485/15.93, allocations: 2.399 MB / 5.386 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/15.93, allocations: 64.41 kB / 5.386 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/15.93, allocations: 2.238 MB / 5.389 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/15.93, allocations: 57.7 kB / 5.389 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007977/15.93, allocations: 1.266 MB / 5.39 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/15.93, allocations: 386.4 kB / 5.39 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/15.93, allocations: 36 kB / 5.39 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/15.93, allocations: 381.8 kB / 5.391 GB, free: 492 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/15.94, allocations: 0.9955 MB / 5.392 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/15.94, allocations: 1.66 MB / 5.393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/15.94, allocations: 1.218 MB / 5.394 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/15.94, allocations: 4 kB / 5.394 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006797/15.95, allocations: 2.883 MB / 5.397 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002513/15.95, allocations: 5.782 MB / 5.403 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/15.95, allocations: 16 kB / 5.403 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.881e-05/15.95, allocations: 24 kB / 5.403 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/15.96, allocations: 0.5617 MB / 5.404 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/15.96, allocations: 2.391 MB / 5.406 GB, free: 4 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/15.96, allocations: 475.1 kB / 5.406 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003593/15.96, allocations: 95.95 kB / 5.406 GB, free: 15.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/15.96, allocations: 7.938 kB / 5.406 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006177/15.97, allocations: 2.642 MB / 5.409 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/15.97, allocations: 12 kB / 5.409 GB, free: 12.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/15.97, allocations: 24 kB / 5.409 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/15.97, allocations: 0.5345 MB / 5.41 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.972e-05/15.97, allocations: 35.86 kB / 5.41 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/15.97, allocations: 399 kB / 5.41 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/15.98, allocations: 95.97 kB / 5.41 GB, free: 11.69 MB / 0.823 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.002399/15.98, allocations: 0.6291 MB / 5.411 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/15.98, allocations: 268.8 kB / 5.411 GB, free: 10.79 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005935/15.98, allocations: 1.87 MB / 5.413 GB, free: 8.906 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/15.98, allocations: 15.94 kB / 5.413 GB, free: 8.891 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/15.98, allocations: 4 kB / 5.413 GB, free: 8.887 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/15.98, allocations: 7.969 kB / 5.413 GB, free: 8.879 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/16, allocations: 4.489 MB / 5.417 GB, free: 4.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/16, allocations: 8 kB / 5.417 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/16, allocations: 316 kB / 5.417 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/16, allocations: 8 kB / 5.417 GB, free: 3.926 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/16, allocations: 35.97 kB / 5.418 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/16, allocations: 2.367 MB / 5.42 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/16, allocations: 11.94 kB / 5.42 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5708/16.57, allocations: 2.483 MB / 5.422 GB, free: 79.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/16.57, allocations: 0.5467 MB / 5.423 GB, free: 79.88 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005827/16.57, allocations: 28.75 kB / 5.423 GB, free: 79.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/16.58, allocations: 284.5 kB / 5.423 GB, free: 79.88 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/16.58, allocations: 82.56 kB / 5.423 GB, free: 79.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/16.58, allocations: 63.47 kB / 5.423 GB, free: 79.88 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00395/16.58, allocations: 1.746 MB / 5.425 GB, free: 79.74 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.11e-07/16.58, allocations: 0.5 kB / 5.425 GB, free: 79.74 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008417/16.59, allocations: 1.931 MB / 5.427 GB, free: 79.68 MB / 0.823 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.01688/16.61, allocations: 12.02 MB / 5.439 GB, free: 72.62 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008894/16.62, allocations: 3.666 MB / 5.442 GB, free: 72.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/16.62, allocations: 0 / 5.442 GB, free: 72.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/16.62, allocations: 0.8154 MB / 5.443 GB, free: 72.35 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/16.63, allocations: 1.192 MB / 5.444 GB, free: 72.33 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/16.64, allocations: 16.38 MB / 5.46 GB, free: 59 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/16.64, allocations: 1.756 MB / 5.462 GB, free: 58.24 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005031/16.65, allocations: 0.782 MB / 5.463 GB, free: 58.21 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/16.65, allocations: 1.009 MB / 5.464 GB, free: 58.21 MB / 0.823 GB Notification: Performance of SimCode: time 1.072e-06/16.65, allocations: 2.625 kB / 5.464 GB, free: 58.21 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/16.9, allocations: 151.1 MB / 5.611 GB, free: 51.29 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/16.9, allocations: 257.2 kB / 5.611 GB, free: 50.96 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/25.34, allocations: 4 kB / 5.611 GB, free: 50.96 MB / 0.823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)