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.001476/0.001475, allocations: 174.5 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.8109/0.8109, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.734/1.734, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.001184/0.001184, allocations: 93.89 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.808e-05/4.809e-05, allocations: 4.594 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.679/5.879, allocations: 1.864 GB / 2.504 GB, free: 30.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/5.88, allocations: 98.86 kB / 2.505 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.81/17.69, allocations: 2.837 GB / 5.342 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.003e-06/17.69, allocations: 0 / 5.342 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003569/17.69, allocations: 71.98 kB / 5.342 GB, free: 5.738 MB / 0.8073 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.01181/17.7, allocations: 3.494 MB / 5.345 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/17.7, allocations: 16.03 kB / 5.345 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/17.7, allocations: 299.6 kB / 5.346 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/17.71, allocations: 1.19 MB / 5.347 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7592/18.47, allocations: 2.568 MB / 5.349 GB, free: 63.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001691/18.47, allocations: 439.3 kB / 5.35 GB, free: 63.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/18.47, allocations: 219.9 kB / 5.35 GB, free: 63.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006552/18.48, allocations: 2.825 MB / 5.353 GB, free: 63.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/18.48, allocations: 11.47 kB / 5.353 GB, free: 63.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003363/18.48, allocations: 92.2 kB / 5.353 GB, free: 63.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/18.48, allocations: 88.66 kB / 5.353 GB, free: 63.56 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/18.49, allocations: 2.646 MB / 5.355 GB, free: 63.53 MB / 0.8073 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.02602/18.51, allocations: 14.07 MB / 5.369 GB, free: 56.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/18.52, allocations: 1.42 MB / 5.371 GB, free: 56.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/18.52, allocations: 0.6386 MB / 5.371 GB, free: 56.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/18.52, allocations: 327.4 kB / 5.372 GB, free: 55.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/18.52, allocations: 51.03 kB / 5.372 GB, free: 55.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002185/18.52, allocations: 216.3 kB / 5.372 GB, free: 55.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 1.27e-05/18.52, allocations: 0 / 5.372 GB, free: 55.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.004253/18.52, allocations: 1.438 MB / 5.373 GB, free: 55.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/18.52, allocations: 63.69 kB / 5.373 GB, free: 55.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008457/18.53, allocations: 2.085 MB / 5.375 GB, free: 55.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007287/18.53, allocations: 64.2 kB / 5.375 GB, free: 55.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/18.54, allocations: 1.27 MB / 5.377 GB, free: 54.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007359/18.54, allocations: 389.4 kB / 5.377 GB, free: 54.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/18.54, allocations: 33.84 kB / 5.377 GB, free: 54.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001841/18.54, allocations: 373.9 kB / 5.377 GB, free: 54.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/18.54, allocations: 0.7113 MB / 5.378 GB, free: 54.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/18.54, allocations: 1.38 MB / 5.379 GB, free: 53.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/18.54, allocations: 0.9353 MB / 5.38 GB, free: 53.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-05/18.54, allocations: 7.609 kB / 5.38 GB, free: 53.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005646/18.55, allocations: 2.324 MB / 5.383 GB, free: 53.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001863/18.55, allocations: 5.778 MB / 5.388 GB, free: 47.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.542e-05/18.55, allocations: 13 kB / 5.388 GB, free: 47.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.914e-05/18.55, allocations: 31.42 kB / 5.388 GB, free: 47.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/18.56, allocations: 0.5616 MB / 5.389 GB, free: 47.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/18.56, allocations: 2.393 MB / 5.391 GB, free: 44.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/18.56, allocations: 465.1 kB / 5.392 GB, free: 44.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/18.56, allocations: 102.7 kB / 5.392 GB, free: 44.81 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/18.56, allocations: 4.859 kB / 5.392 GB, free: 44.81 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003917/18.57, allocations: 2.077 MB / 5.394 GB, free: 44.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.278e-05/18.57, allocations: 13.53 kB / 5.394 GB, free: 44.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.1e-05/18.57, allocations: 24.69 kB / 5.394 GB, free: 44.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/18.57, allocations: 0.5329 MB / 5.394 GB, free: 44.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.32e-05/18.57, allocations: 34.22 kB / 5.394 GB, free: 44.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/18.57, allocations: 401.9 kB / 5.395 GB, free: 44.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/18.57, allocations: 92.5 kB / 5.395 GB, free: 44.7 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 () * 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.0006962/18.57, allocations: 217.8 kB / 5.395 GB, free: 44.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009276/18.57, allocations: 261.2 kB / 5.395 GB, free: 44.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/18.58, allocations: 1.576 MB / 5.397 GB, free: 44.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/18.58, allocations: 10.97 kB / 5.397 GB, free: 44.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/18.58, allocations: 5.328 kB / 5.397 GB, free: 44.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/18.58, allocations: 10.69 kB / 5.397 GB, free: 44.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009399/18.59, allocations: 4.193 MB / 5.401 GB, free: 43.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/18.59, allocations: 6.125 kB / 5.401 GB, free: 43.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/18.59, allocations: 316.1 kB / 5.401 GB, free: 43.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/18.59, allocations: 9.844 kB / 5.401 GB, free: 43.81 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/18.59, allocations: 34.5 kB / 5.401 GB, free: 43.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000916/18.59, allocations: 2.361 MB / 5.404 GB, free: 41.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/18.59, allocations: 11.72 kB / 5.404 GB, free: 41.47 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/18.59, allocations: 2.207 MB / 5.406 GB, free: 40.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/18.6, allocations: 0.5369 MB / 5.406 GB, free: 40.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008981/18.6, allocations: 26.12 kB / 5.406 GB, free: 40.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/18.6, allocations: 287.9 kB / 5.407 GB, free: 40.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/18.6, allocations: 82.58 kB / 5.407 GB, free: 40.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/18.6, allocations: 63.31 kB / 5.407 GB, free: 40.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003136/18.6, allocations: 1.592 MB / 5.408 GB, free: 39.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.174e-06/18.6, allocations: 0.5938 kB / 5.408 GB, free: 39.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009399/18.61, allocations: 1.937 MB / 5.41 GB, free: 39.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 () * 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.01662/18.63, allocations: 11.71 MB / 5.422 GB, free: 32.67 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007737/18.64, allocations: 3.036 MB / 5.425 GB, free: 32.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/18.64, allocations: 2 kB / 5.425 GB, free: 32.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/18.64, allocations: 0.6621 MB / 5.425 GB, free: 32.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008096/18.65, allocations: 1.198 MB / 5.426 GB, free: 32.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/18.66, allocations: 3.76 MB / 5.43 GB, free: 31.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/18.66, allocations: 1.751 MB / 5.432 GB, free: 30.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006831/18.67, allocations: 0.9737 MB / 5.433 GB, free: 30.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/18.67, allocations: 0.9686 MB / 5.434 GB, free: 30.48 MB / 0.8073 GB Notification: Performance of SimCode: time 2.645e-06/18.67, allocations: 0 / 5.434 GB, free: 30.48 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2976/18.97, allocations: 169.8 MB / 5.6 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/18.97, allocations: 220.2 kB / 5.6 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/27.58, allocations: 3.562 kB / 5.6 GB, free: 1.32 MB / 0.8073 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)