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.001613/0.001613, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001858/0.001858, allocations: 212.2 kB / 23 MB, free: 4.949 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.465/1.465, allocations: 230.6 MB / 256.8 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.1475/0.1475, allocations: 23.92 MB / 337.1 MB, free: 10.92 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.00205/0.00205, allocations: 67.91 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.366, allocations: 59.87 MB / 0.5198 GB, free: 9.824 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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:1336:7-1336: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.07723/0.4432, allocations: 28.42 MB / 0.5476 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.4579, allocations: 7.98 MB / 0.5554 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.4604, allocations: 35.81 kB / 0.5554 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.464, allocations: 0.9281 MB / 0.5563 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.4678, allocations: 0.8518 MB / 0.5571 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.4712, allocations: 0.8988 MB / 0.558 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.4751, allocations: 1.985 MB / 0.5599 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.476, allocations: 434.8 kB / 0.5604 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.4776, allocations: 0.8354 MB / 0.5612 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.4798, allocations: 1.11 MB / 0.5623 GB, free: 14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.4801, allocations: 208 kB / 0.5625 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.4835, allocations: 1.062 MB / 0.5635 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006302/0.4841, allocations: 0.5893 MB / 0.5641 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.4852, allocations: 0.8689 MB / 0.5649 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.4917, allocations: 3.842 MB / 0.5687 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4917, allocations: 0 / 0.5687 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4917, allocations: 0 / 0.5687 GB, free: 7.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.521e-05/0.4918, allocations: 0 / 0.5687 GB, free: 7.684 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.004499/0.4963, allocations: 2.526 MB / 0.5711 GB, free: 5.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4963, allocations: 8.031 kB / 0.5711 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.4973, allocations: 415 kB / 0.5715 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.4988, allocations: 0.909 MB / 0.5724 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.4992, allocations: 271.4 kB / 0.5727 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.4995, allocations: 208.3 kB / 0.5729 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008264/0.5077, allocations: 6.903 MB / 0.5796 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.5078, allocations: 0 / 0.5796 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.5079, allocations: 79.98 kB / 0.5797 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/0.5083, allocations: 328.8 kB / 0.58 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.5222, allocations: 12.6 MB / 0.5923 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.5393, allocations: 9.957 MB / 0.602 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.5409, allocations: 0.7286 MB / 0.6028 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/0.5416, allocations: 390.7 kB / 0.6031 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006742/0.5483, allocations: 3.229 MB / 0.6063 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5484, allocations: 39.06 kB / 0.6063 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.5484, allocations: 4 kB / 0.6063 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.006827/0.5552, allocations: 2.592 MB / 0.6089 GB, free: 14.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5553, allocations: 60.06 kB / 0.6089 GB, free: 14.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.5569, allocations: 1.014 MB / 0.6099 GB, free: 13.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.557, allocations: 37.7 kB / 0.6099 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.5581, allocations: 1.158 MB / 0.6111 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5584, allocations: 257.8 kB / 0.6113 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/0.5589, allocations: 306.7 kB / 0.6116 GB, free: 11.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5591, allocations: 345.9 kB / 0.6119 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.5599, allocations: 382.5 kB / 0.6123 GB, free: 10.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.5611, allocations: 0.8282 MB / 0.6131 GB, free: 9.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.5631, allocations: 1.286 MB / 0.6144 GB, free: 8.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.5631, allocations: 4 kB / 0.6144 GB, free: 8.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003678/0.5668, allocations: 1.538 MB / 0.6159 GB, free: 6.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.5669, allocations: 12 kB / 0.6159 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.5669, allocations: 16 kB / 0.6159 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.5673, allocations: 129.7 kB / 0.616 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.5697, allocations: 451.4 kB / 0.6165 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.5728, allocations: 2.723 MB / 0.6191 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.5738, allocations: 39.98 kB / 0.6192 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/0.5741, allocations: 180.2 kB / 0.6193 GB, free: 2.723 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (132): * Single equations (assignments): 130 * 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.001458/0.5755, allocations: 0.5989 MB / 0.6199 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.5759, allocations: 119.2 kB / 0.62 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.5798, allocations: 1.514 MB / 0.6215 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.5798, allocations: 7.984 kB / 0.6215 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5798, allocations: 4 kB / 0.6215 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5798, allocations: 3.984 kB / 0.6215 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.5851, allocations: 2.159 MB / 0.6236 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.5851, allocations: 4.438 kB / 0.6236 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.5868, allocations: 215.6 kB / 0.6238 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/0.5871, allocations: 109.7 kB / 0.6239 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.5871, allocations: 16 kB / 0.624 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.5901, allocations: 2.708 MB / 0.6266 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5901, allocations: 4 kB / 0.6266 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.5929, allocations: 1.19 MB / 0.6278 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.5932, allocations: 107.2 kB / 0.6279 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.5935, allocations: 15.94 kB / 0.6279 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.594, allocations: 23.98 kB / 0.6279 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5941, allocations: 52.23 kB / 0.628 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.5942, allocations: 27.98 kB / 0.628 GB, free: 9.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001315/0.5955, allocations: 0.7506 MB / 0.6287 GB, free: 8.688 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5955, allocations: 64 / 0.6287 GB, free: 8.688 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001712/0.5972, allocations: 407.7 kB / 0.6291 GB, free: 8.289 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (62): * Single equations (assignments): 60 * 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.0007487/0.5979, allocations: 370.5 kB / 0.6295 GB, free: 7.918 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.6003, allocations: 1.053 MB / 0.6305 GB, free: 6.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6003, allocations: 4 kB / 0.6305 GB, free: 6.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009824/0.6013, allocations: 490 kB / 0.631 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.6028, allocations: 276.6 kB / 0.6312 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.6097, allocations: 3.667 MB / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.611, allocations: 1.006 MB / 0.6358 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/0.6117, allocations: 183.3 kB / 0.636 GB, free: 1.094 MB / 478.1 MB Notification: Performance of SimCode: time 1.113e-06/0.6117, allocations: 3.938 kB / 0.636 GB, free: 1.09 MB / 478.1 MB Notification: Performance of Templates: time 0.06182/0.6736, allocations: 44.51 MB / 0.6794 GB, free: 4.559 MB / 0.5137 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: 11.03009444300551] Failed to read output from testmodel.py, exit status != 0: 0.6831216239952482 0.698186898 0.203140377 Calling exit ...