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.001378/0.001378, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8638/0.8638, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009402/0.0009406, allocations: 100.5 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.172e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5895, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.446, allocations: 1.863 GB / 2.497 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/6.447, allocations: 94.38 kB / 2.497 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.71/18.16, allocations: 2.807 GB / 5.304 GB, free: 51.17 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.023e-06/18.16, allocations: 0 / 5.304 GB, free: 51.17 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004513/18.16, allocations: 73.7 kB / 5.304 GB, free: 51.16 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.01562/18.17, allocations: 3.503 MB / 5.308 GB, free: 49.46 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/18.17, allocations: 12.06 kB / 5.308 GB, free: 49.46 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/18.18, allocations: 1.195 MB / 5.309 GB, free: 49.3 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008986/18.19, allocations: 2.575 MB / 5.312 GB, free: 48.76 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001305/18.19, allocations: 354.1 kB / 5.312 GB, free: 48.75 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/18.2, allocations: 132.5 kB / 5.312 GB, free: 48.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006215/18.2, allocations: 2.44 MB / 5.314 GB, free: 48.74 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005763/18.21, allocations: 2.377 MB / 5.317 GB, free: 48.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.953e-05/18.21, allocations: 6.906 kB / 5.317 GB, free: 48.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/18.21, allocations: 2.812 kB / 5.317 GB, free: 48.34 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/18.21, allocations: 92.8 kB / 5.317 GB, free: 48.33 MB / 0.7917 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.02723/18.24, allocations: 13.58 MB / 5.33 GB, free: 40.95 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/18.24, allocations: 1.49 MB / 5.331 GB, free: 40.73 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009206/18.24, allocations: 0.6095 MB / 5.332 GB, free: 40.72 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/18.24, allocations: 325.8 kB / 5.332 GB, free: 40.44 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/18.24, allocations: 49 kB / 5.332 GB, free: 40.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002043/18.24, allocations: 164.4 kB / 5.333 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 6.322e-06/18.24, allocations: 0 / 5.333 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=110): time 0.003231/18.24, allocations: 1.519 MB / 5.334 GB, free: 40.16 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/18.24, allocations: 66.88 kB / 5.334 GB, free: 40.09 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/18.25, allocations: 1.558 MB / 5.336 GB, free: 39.87 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002698/18.25, allocations: 31.48 kB / 5.336 GB, free: 39.84 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009016/18.25, allocations: 1.29 MB / 5.337 GB, free: 39.27 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/18.25, allocations: 372 kB / 5.337 GB, free: 39.03 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/18.25, allocations: 4.625 kB / 5.337 GB, free: 39.03 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001227/18.25, allocations: 373.4 kB / 5.338 GB, free: 38.73 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/18.25, allocations: 0.6694 MB / 5.338 GB, free: 38.72 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/18.25, allocations: 1.315 MB / 5.34 GB, free: 37.96 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/18.25, allocations: 1.165 MB / 5.341 GB, free: 37.93 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/18.25, allocations: 3.531 kB / 5.341 GB, free: 37.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004767/18.26, allocations: 2.373 MB / 5.343 GB, free: 37.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001629/18.26, allocations: 5.629 MB / 5.349 GB, free: 31.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/18.26, allocations: 15.16 kB / 5.349 GB, free: 31.83 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.483e-05/18.26, allocations: 21.88 kB / 5.349 GB, free: 31.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/18.26, allocations: 0.5759 MB / 5.349 GB, free: 31.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/18.26, allocations: 2.397 MB / 5.352 GB, free: 29.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/18.27, allocations: 388.3 kB / 5.352 GB, free: 29.44 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/18.27, allocations: 98.33 kB / 5.352 GB, free: 29.44 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/18.27, allocations: 0 / 5.352 GB, free: 29.44 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00405/18.27, allocations: 2.126 MB / 5.354 GB, free: 29.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/18.27, allocations: 12.47 kB / 5.354 GB, free: 29.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/18.27, allocations: 27.56 kB / 5.354 GB, free: 29.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/18.28, allocations: 0.5358 MB / 5.355 GB, free: 29.31 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.887e-05/18.28, allocations: 30.73 kB / 5.355 GB, free: 29.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/18.28, allocations: 321.5 kB / 5.355 GB, free: 29.29 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/18.28, allocations: 97.77 kB / 5.355 GB, free: 29.29 MB / 0.7917 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.0006015/18.28, allocations: 167.5 kB / 5.355 GB, free: 29.14 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003092/18.28, allocations: 1.474 MB / 5.357 GB, free: 28.97 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/18.28, allocations: 220.1 kB / 5.357 GB, free: 28.86 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/18.29, allocations: 1.615 MB / 5.358 GB, free: 28.74 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/18.29, allocations: 14.91 kB / 5.358 GB, free: 28.74 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/18.29, allocations: 3.234 kB / 5.358 GB, free: 28.74 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/18.29, allocations: 5.828 kB / 5.358 GB, free: 28.74 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007723/18.29, allocations: 3.914 MB / 5.362 GB, free: 28.19 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/18.29, allocations: 7.781 kB / 5.362 GB, free: 28.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/18.3, allocations: 310.1 kB / 5.363 GB, free: 28.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.151e-05/18.3, allocations: 18.62 kB / 5.363 GB, free: 28.18 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/18.3, allocations: 18.94 kB / 5.363 GB, free: 28.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008622/18.3, allocations: 2.362 MB / 5.365 GB, free: 25.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/18.3, allocations: 9.375 kB / 5.365 GB, free: 25.83 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/18.3, allocations: 2.204 MB / 5.367 GB, free: 24.75 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/18.3, allocations: 0.4946 MB / 5.368 GB, free: 24.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/18.3, allocations: 10.73 kB / 5.368 GB, free: 24.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/18.3, allocations: 242.1 kB / 5.368 GB, free: 24.52 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/18.31, allocations: 82.92 kB / 5.368 GB, free: 24.51 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/18.31, allocations: 67.98 kB / 5.368 GB, free: 24.51 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002047/18.31, allocations: 1.144 MB / 5.369 GB, free: 24.37 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.1e-07/18.31, allocations: 0 / 5.369 GB, free: 24.37 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006804/18.31, allocations: 1.733 MB / 5.371 GB, free: 24.19 MB / 0.7917 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.01624/18.33, allocations: 12.4 MB / 5.383 GB, free: 16.64 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005203/18.34, allocations: 2.843 MB / 5.386 GB, free: 16.27 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/18.34, allocations: 3.75 kB / 5.386 GB, free: 16.27 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/18.34, allocations: 0.6266 MB / 5.386 GB, free: 16.23 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/18.34, allocations: 0.7472 MB / 5.387 GB, free: 16.16 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/18.35, allocations: 3.565 MB / 5.39 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/18.35, allocations: 1.749 MB / 5.392 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004448/18.35, allocations: 0.8279 MB / 5.393 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/18.36, allocations: 0.9453 MB / 5.394 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of SimCode: time 2.084e-06/18.36, allocations: 0 / 5.394 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8991/19.26, allocations: 99.56 MB / 5.491 GB, free: 70.64 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/19.26, allocations: 165.2 kB / 5.491 GB, free: 70.45 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/25.54, allocations: 3.281 kB / 5.491 GB, free: 70.45 MB / 0.8073 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)