Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.SimpleFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 213.4 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1335/0.1335, allocations: 24 MB / 336.4 MB, free: 10.85 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") translateModel(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.89 kB / 471.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 59.89 MB / 0.5192 GB, free: 9.734 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.SimpleFlow): time 0.08351/0.4124, allocations: 28.62 MB / 0.5471 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.4269, allocations: 8.236 MB / 0.5552 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.4286, allocations: 39.75 kB / 0.5552 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.4317, allocations: 0.9257 MB / 0.5561 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.4345, allocations: 0.8571 MB / 0.557 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.4375, allocations: 0.9705 MB / 0.5579 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.441, allocations: 2.024 MB / 0.5599 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.4418, allocations: 430.5 kB / 0.5603 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.4429, allocations: 0.8405 MB / 0.5611 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.4444, allocations: 1.002 MB / 0.5621 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.4446, allocations: 212 kB / 0.5623 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.4479, allocations: 1.089 MB / 0.5634 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005982/0.4485, allocations: 0.5991 MB / 0.564 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008667/0.4493, allocations: 0.8819 MB / 0.5648 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.4546, allocations: 3.904 MB / 0.5686 GB, free: 7.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4546, allocations: 8 kB / 0.5686 GB, free: 6.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4546, allocations: 0 / 0.5686 GB, free: 6.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.4546, allocations: 0 / 0.5686 GB, free: 6.996 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.003897/0.4585, allocations: 2.55 MB / 0.5711 GB, free: 4.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4585, allocations: 12.03 kB / 0.5711 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.4594, allocations: 411 kB / 0.5715 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.4608, allocations: 0.9246 MB / 0.5724 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.4611, allocations: 279.4 kB / 0.5727 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.4614, allocations: 200.4 kB / 0.5729 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008433/0.4698, allocations: 7.405 MB / 0.5801 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.4698, allocations: 3.938 kB / 0.5801 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.47, allocations: 83.98 kB / 0.5802 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003516/0.4703, allocations: 328.8 kB / 0.5805 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.4843, allocations: 13.33 MB / 0.5935 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.5006, allocations: 10.32 MB / 0.6036 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.5023, allocations: 0.7421 MB / 0.6043 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.503, allocations: 403.7 kB / 0.6047 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007143/0.5102, allocations: 3.39 MB / 0.608 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.5102, allocations: 43.05 kB / 0.6081 GB, free: 14.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.295e-06/0.5102, allocations: 0 / 0.6081 GB, free: 14.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.006644/0.5168, allocations: 2.555 MB / 0.6106 GB, free: 11.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.5169, allocations: 56.06 kB / 0.6106 GB, free: 11.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.5183, allocations: 1.027 MB / 0.6116 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.5184, allocations: 37.7 kB / 0.6117 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000912/0.5193, allocations: 1.197 MB / 0.6128 GB, free: 9.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.5195, allocations: 246 kB / 0.6131 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/0.52, allocations: 314.7 kB / 0.6134 GB, free: 8.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5201, allocations: 349.9 kB / 0.6137 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.5208, allocations: 386.5 kB / 0.6141 GB, free: 8.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.522, allocations: 0.8597 MB / 0.6149 GB, free: 6.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.524, allocations: 1.325 MB / 0.6162 GB, free: 5.359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.524, allocations: 4 kB / 0.6162 GB, free: 5.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003578/0.5276, allocations: 1.565 MB / 0.6177 GB, free: 3.777 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5276, allocations: 15.94 kB / 0.6178 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.5276, allocations: 16 kB / 0.6178 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.528, allocations: 133.7 kB / 0.6179 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.5307, allocations: 0.5345 MB / 0.6184 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/0.5338, allocations: 2.723 MB / 0.6211 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/0.5345, allocations: 51.98 kB / 0.6211 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.5348, allocations: 184.2 kB / 0.6213 GB, free: 15.91 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 2 (substance.substanceDefinitionVar.SelfClustering,substance.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001126/0.5359, allocations: 0.6066 MB / 0.6219 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.5362, allocations: 115.2 kB / 0.622 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.5401, allocations: 1.511 MB / 0.6235 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.5401, allocations: 8 kB / 0.6235 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5401, allocations: 3.938 kB / 0.6235 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.5401, allocations: 3.984 kB / 0.6235 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.5448, allocations: 2.143 MB / 0.6256 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5448, allocations: 416 / 0.6256 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/0.5468, allocations: 315.7 kB / 0.6259 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.5471, allocations: 113.6 kB / 0.626 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.5471, allocations: 16 kB / 0.626 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.55, allocations: 2.7 MB / 0.6287 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.55, allocations: 4 kB / 0.6287 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.5528, allocations: 1.235 MB / 0.6299 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.5531, allocations: 99.28 kB / 0.63 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.5533, allocations: 19.95 kB / 0.63 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.5538, allocations: 28.05 kB / 0.63 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5539, allocations: 56.22 kB / 0.6301 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.5539, allocations: 20 kB / 0.6301 GB, free: 6.527 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.5552, allocations: 0.767 MB / 0.6308 GB, free: 5.754 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5552, allocations: 0 / 0.6308 GB, free: 5.754 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002105/0.5573, allocations: 403.7 kB / 0.6312 GB, free: 5.359 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (substance.logn,substance1.logn) * 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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009937/0.5583, allocations: 378.4 kB / 0.6316 GB, free: 4.977 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.5611, allocations: 1.1 MB / 0.6326 GB, free: 3.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5611, allocations: 5.875 kB / 0.6327 GB, free: 3.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5622, allocations: 496.4 kB / 0.6331 GB, free: 3.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5637, allocations: 277.2 kB / 0.6334 GB, free: 3.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/0.572, allocations: 3.581 MB / 0.6369 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.5739, allocations: 1.015 MB / 0.6379 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001509/0.5754, allocations: 382.8 kB / 0.6382 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.576, allocations: 159.3 kB / 0.6384 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.576, allocations: 0 / 0.6384 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Templates: time 0.04128/0.6172, allocations: 24.07 MB / 0.6619 GB, free: 5.988 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.SimpleFlow.sim & ./Chemical_master_Chemical.Processes.Tests.SimpleFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.682201253250241] Failed to read output from testmodel.py, exit status != 0: 0.6265931278467178 0.6401705409999999 0.182633646 Calling exit ...