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/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/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: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7879/0.7879, allocations: 130.7 MB / 138.7 MB, free: 3.473 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.682/1.682, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009735/0.0009735, allocations: 98.47 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.008e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.617, allocations: 81.57 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.684/6.301, allocations: 1.863 GB / 2.491 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/6.302, allocations: 87.95 kB / 2.491 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.45/17.75, allocations: 2.807 GB / 5.298 GB, free: 43.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.617e-06/17.75, allocations: 0 / 5.298 GB, free: 43.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0005491/17.76, allocations: 66.78 kB / 5.298 GB, free: 43.31 MB / 0.7761 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.01563/17.77, allocations: 3.494 MB / 5.302 GB, free: 41.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/17.77, allocations: 9.031 kB / 5.302 GB, free: 41.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/17.78, allocations: 1.198 MB / 5.303 GB, free: 41.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/17.79, allocations: 2.578 MB / 5.306 GB, free: 40.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001466/17.79, allocations: 351 kB / 5.306 GB, free: 40.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/17.79, allocations: 135.6 kB / 5.306 GB, free: 40.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005896/17.8, allocations: 2.431 MB / 5.308 GB, free: 40.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/17.81, allocations: 2.378 MB / 5.311 GB, free: 40.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/17.81, allocations: 11.05 kB / 5.311 GB, free: 40.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/17.81, allocations: 6.688 kB / 5.311 GB, free: 40.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/17.81, allocations: 90.11 kB / 5.311 GB, free: 40.27 MB / 0.7761 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.02396/17.83, allocations: 13.57 MB / 5.324 GB, free: 32.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/17.83, allocations: 1.482 MB / 5.326 GB, free: 32.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/17.83, allocations: 0.6144 MB / 5.326 GB, free: 32.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/17.83, allocations: 327 kB / 5.326 GB, free: 32.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/17.83, allocations: 50.94 kB / 5.326 GB, free: 32.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002485/17.84, allocations: 157.6 kB / 5.327 GB, free: 32.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 5.24e-06/17.84, allocations: 3.562 kB / 5.327 GB, free: 32.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.003444/17.84, allocations: 1.521 MB / 5.328 GB, free: 31.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/17.84, allocations: 67.31 kB / 5.328 GB, free: 31.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/17.84, allocations: 1.549 MB / 5.33 GB, free: 31.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/17.84, allocations: 35.27 kB / 5.33 GB, free: 31.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009463/17.84, allocations: 1.306 MB / 5.331 GB, free: 31.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/17.84, allocations: 374.6 kB / 5.331 GB, free: 30.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/17.84, allocations: 3.969 kB / 5.331 GB, free: 30.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000162/17.85, allocations: 369.7 kB / 5.332 GB, free: 30.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/17.85, allocations: 0.6723 MB / 5.332 GB, free: 30.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/17.85, allocations: 1.311 MB / 5.334 GB, free: 29.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/17.85, allocations: 1.162 MB / 5.335 GB, free: 29.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/17.85, allocations: 3.094 kB / 5.335 GB, free: 29.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004698/17.85, allocations: 2.371 MB / 5.337 GB, free: 28.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00151/17.86, allocations: 5.634 MB / 5.343 GB, free: 22.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/17.86, allocations: 13.62 kB / 5.343 GB, free: 22.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.533e-05/17.86, allocations: 26.28 kB / 5.343 GB, free: 22.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/17.86, allocations: 0.574 MB / 5.343 GB, free: 22.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/17.86, allocations: 2.394 MB / 5.346 GB, free: 20.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/17.87, allocations: 386.1 kB / 5.346 GB, free: 20.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/17.87, allocations: 95.72 kB / 5.346 GB, free: 20 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/17.87, allocations: 3.688 kB / 5.346 GB, free: 20 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005143/17.87, allocations: 2.132 MB / 5.348 GB, free: 19.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.535e-05/17.87, allocations: 12.78 kB / 5.348 GB, free: 19.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.542e-05/17.87, allocations: 24.72 kB / 5.348 GB, free: 19.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/17.87, allocations: 0.5342 MB / 5.349 GB, free: 19.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-05/17.87, allocations: 34.3 kB / 5.349 GB, free: 19.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/17.88, allocations: 321.8 kB / 5.349 GB, free: 19.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004155/17.88, allocations: 89.73 kB / 5.349 GB, free: 19.2 MB / 0.7761 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.0009802/17.88, allocations: 164.1 kB / 5.349 GB, free: 19.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/17.88, allocations: 223.2 kB / 5.349 GB, free: 18.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/17.89, allocations: 1.613 MB / 5.351 GB, free: 18.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/17.89, allocations: 14.38 kB / 5.351 GB, free: 18.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/17.89, allocations: 3.938 kB / 5.351 GB, free: 18.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/17.89, allocations: 11.64 kB / 5.351 GB, free: 18.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009881/17.9, allocations: 3.916 MB / 5.355 GB, free: 16.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/17.9, allocations: 3.875 kB / 5.355 GB, free: 16.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/17.9, allocations: 323.1 kB / 5.355 GB, free: 16.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.139e-05/17.9, allocations: 10.62 kB / 5.355 GB, free: 16.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/17.9, allocations: 19.84 kB / 5.355 GB, free: 16.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009827/17.9, allocations: 2.366 MB / 5.358 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/17.9, allocations: 7.812 kB / 5.358 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/17.9, allocations: 2.207 MB / 5.36 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/17.9, allocations: 495.4 kB / 5.36 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009952/17.9, allocations: 8 kB / 5.36 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/17.91, allocations: 243.3 kB / 5.36 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/17.91, allocations: 81.19 kB / 5.36 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/17.91, allocations: 62.22 kB / 5.361 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003736/17.91, allocations: 1.159 MB / 5.362 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.51e-07/17.91, allocations: 0 / 5.362 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01336/17.93, allocations: 1.72 MB / 5.363 GB, free: 8.438 MB / 0.7761 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.01499/17.94, allocations: 8.262 MB / 5.371 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007301/17.95, allocations: 2.844 MB / 5.374 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/17.95, allocations: 4.5 kB / 5.374 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/17.95, allocations: 0.629 MB / 5.375 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005584/17.96, allocations: 0.7267 MB / 5.376 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/17.97, allocations: 3.094 MB / 5.379 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/17.97, allocations: 1.749 MB / 5.38 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.006062/17.98, allocations: 0.8252 MB / 5.381 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/17.98, allocations: 142 kB / 5.381 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of SimCode: time 1.202e-06/17.98, allocations: 0 / 5.381 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of Templates: time 0.9084/18.88, allocations: 69.68 MB / 5.449 GB, free: 78.21 MB / 0.8073 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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 & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)