Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.367/0.367, allocations: 54.4 MB / 61.88 MB, free: 13.76 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00114/0.00114, allocations: 179.8 kB / 75.61 MB, free: 0.7812 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.613/1.613, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001792/0.001792, allocations: 116.3 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.682e-05, allocations: 4 kB / 405.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3861, allocations: 57.65 MB / 463.1 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.543/5.929, allocations: 2.15 GB / 2.602 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/5.929, allocations: 94.5 kB / 2.602 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 11.05/16.98, allocations: 2.674 GB / 5.276 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.428e-06/16.98, allocations: 0 / 5.276 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00057/16.98, allocations: 75.91 kB / 5.276 GB, free: 5.137 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.01695/16.99, allocations: 3.637 MB / 5.28 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/16.99, allocations: 8.031 kB / 5.28 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/17.01, allocations: 1.183 MB / 5.281 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6699/17.68, allocations: 2.185 MB / 5.283 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/17.68, allocations: 359.2 kB / 5.283 GB, free: 46.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000628/17.68, allocations: 139.4 kB / 5.283 GB, free: 46.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00513/17.68, allocations: 2.55 MB / 5.286 GB, free: 46.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/17.69, allocations: 2.461 MB / 5.288 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/17.69, allocations: 9.688 kB / 5.288 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/17.69, allocations: 2.344 kB / 5.288 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-05/17.69, allocations: 92.47 kB / 5.288 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0231/17.71, allocations: 14 MB / 5.302 GB, free: 37.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/17.71, allocations: 1.213 MB / 5.303 GB, free: 37.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/17.71, allocations: 0.5192 MB / 5.304 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/17.71, allocations: 128.5 kB / 5.304 GB, free: 37.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/17.71, allocations: 50.94 kB / 5.304 GB, free: 37.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001615/17.72, allocations: 137.7 kB / 5.304 GB, free: 37.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=102): time 4.399e-06/17.72, allocations: 0 / 5.304 GB, free: 37.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=102): time 0.003511/17.72, allocations: 1.547 MB / 5.306 GB, free: 37.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/17.72, allocations: 116.8 kB / 5.306 GB, free: 37.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/17.72, allocations: 1.641 MB / 5.307 GB, free: 37.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/17.72, allocations: 34.45 kB / 5.307 GB, free: 37.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/17.72, allocations: 1.437 MB / 5.309 GB, free: 36.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/17.72, allocations: 355.7 kB / 5.309 GB, free: 36.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/17.72, allocations: 5.438 kB / 5.309 GB, free: 36.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001594/17.72, allocations: 389.8 kB / 5.309 GB, free: 36.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/17.72, allocations: 0.6837 MB / 5.31 GB, free: 36.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/17.73, allocations: 1.689 MB / 5.312 GB, free: 34.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/17.73, allocations: 1.23 MB / 5.313 GB, free: 34.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-05/17.73, allocations: 11.62 kB / 5.313 GB, free: 34.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006504/17.74, allocations: 2.689 MB / 5.316 GB, free: 34.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.003725/17.74, allocations: 12.95 MB / 5.328 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.5e-05/17.74, allocations: 31.69 kB / 5.328 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/17.74, allocations: 48.22 kB / 5.328 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01235/17.75, allocations: 2.295 MB / 5.33 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/17.76, allocations: 3.087 MB / 5.334 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/17.76, allocations: 494.7 kB / 5.334 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006782/17.77, allocations: 129.6 kB / 5.334 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/17.77, allocations: 4.594 kB / 5.334 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005621/17.77, allocations: 2.406 MB / 5.336 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/17.77, allocations: 32.84 kB / 5.336 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.257e-05/17.77, allocations: 48.66 kB / 5.337 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/17.77, allocations: 0.6318 MB / 5.337 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.925e-05/17.77, allocations: 62.75 kB / 5.337 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/17.78, allocations: 334.3 kB / 5.338 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/17.78, allocations: 130.7 kB / 5.338 GB, free: 34.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 6 * 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.000816/17.78, allocations: 203 kB / 5.338 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/17.78, allocations: 232.7 kB / 5.338 GB, free: 34.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/17.78, allocations: 1.454 MB / 5.339 GB, free: 34.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/17.78, allocations: 11.41 kB / 5.339 GB, free: 34.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/17.78, allocations: 1.938 kB / 5.34 GB, free: 34.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/17.78, allocations: 6.609 kB / 5.34 GB, free: 34.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/17.8, allocations: 4.576 MB / 5.344 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/17.8, allocations: 3.312 kB / 5.344 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009916/17.81, allocations: 1.865 MB / 5.346 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.382e-05/17.81, allocations: 9.297 kB / 5.346 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/17.81, allocations: 18.88 kB / 5.346 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00974/17.82, allocations: 6.221 MB / 5.352 GB, free: 28.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/17.82, allocations: 12.22 kB / 5.352 GB, free: 28.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/17.82, allocations: 1.956 MB / 5.354 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/17.82, allocations: 464.7 kB / 5.354 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/17.82, allocations: 12.12 kB / 5.354 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/17.82, allocations: 270.9 kB / 5.355 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/17.82, allocations: 82.67 kB / 5.355 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/17.82, allocations: 51.39 kB / 5.355 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002116/17.83, allocations: 1.159 MB / 5.356 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/17.83, allocations: 1.406 kB / 5.356 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.009386/17.84, allocations: 1.773 MB / 5.358 GB, free: 27.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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.01317/17.85, allocations: 8.242 MB / 5.366 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01692/17.87, allocations: 5.111 MB / 5.371 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/17.87, allocations: 448 / 5.371 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01531/17.88, allocations: 3.028 MB / 5.374 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/17.89, allocations: 0.76 MB / 5.374 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/17.89, allocations: 3.033 MB / 5.377 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/17.89, allocations: 1.753 MB / 5.379 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004843/17.9, allocations: 0.8598 MB / 5.38 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/17.9, allocations: 135.4 kB / 5.38 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.643e-06/17.9, allocations: 0 / 5.38 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.1241/18.02, allocations: 69.45 MB / 5.448 GB, free: 14.07 MB / 0.6355 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)