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.001255/0.001255, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001399/0.001399, allocations: 211.8 kB / 22.99 MB, free: 4.984 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1289/0.1289, allocations: 23.92 MB / 337.1 MB, free: 10.96 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.001972/0.001972, allocations: 71.89 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 59.87 MB / 0.5198 GB, free: 9.766 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.07207/0.3531, allocations: 28.32 MB / 0.5475 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3668, allocations: 7.977 MB / 0.5553 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.3684, allocations: 35.81 kB / 0.5553 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.3713, allocations: 0.9277 MB / 0.5562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.3737, allocations: 0.8593 MB / 0.557 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.3761, allocations: 0.8993 MB / 0.5579 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.3787, allocations: 1.988 MB / 0.5599 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.3793, allocations: 435 kB / 0.5603 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.3802, allocations: 0.8351 MB / 0.5611 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.3816, allocations: 1.105 MB / 0.5622 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.3818, allocations: 208 kB / 0.5624 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.384, allocations: 1.067 MB / 0.5634 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.3846, allocations: 0.5925 MB / 0.564 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008191/0.3854, allocations: 0.8699 MB / 0.5648 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.3896, allocations: 3.838 MB / 0.5686 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3896, allocations: 0 / 0.5686 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3896, allocations: 0 / 0.5686 GB, free: 7.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.3896, allocations: 0 / 0.5686 GB, free: 7.828 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.003807/0.3934, allocations: 2.53 MB / 0.5711 GB, free: 5.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3935, allocations: 8.031 kB / 0.5711 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.3943, allocations: 407 kB / 0.5715 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3957, allocations: 0.909 MB / 0.5723 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.396, allocations: 271.4 kB / 0.5726 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.3962, allocations: 204.3 kB / 0.5728 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007666/0.4039, allocations: 6.903 MB / 0.5795 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.4039, allocations: 4 kB / 0.5795 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.4041, allocations: 83.97 kB / 0.5796 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003647/0.4045, allocations: 328.8 kB / 0.5799 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.4179, allocations: 12.6 MB / 0.5922 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.4332, allocations: 9.945 MB / 0.6019 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.4348, allocations: 0.7257 MB / 0.6027 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.4355, allocations: 390.7 kB / 0.603 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006707/0.4422, allocations: 3.24 MB / 0.6062 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.4422, allocations: 39.06 kB / 0.6062 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.314e-06/0.4422, allocations: 0 / 0.6062 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.006983/0.4492, allocations: 2.592 MB / 0.6088 GB, free: 14.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4493, allocations: 56.06 kB / 0.6088 GB, free: 14.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.4506, allocations: 1.017 MB / 0.6098 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.4507, allocations: 37.7 kB / 0.6098 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/0.4515, allocations: 1.166 MB / 0.611 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.4518, allocations: 249.9 kB / 0.6112 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/0.4523, allocations: 298.8 kB / 0.6115 GB, free: 11.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4525, allocations: 353.9 kB / 0.6118 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.4531, allocations: 386.4 kB / 0.6122 GB, free: 10.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.4542, allocations: 0.8321 MB / 0.613 GB, free: 9.668 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.4561, allocations: 1.29 MB / 0.6143 GB, free: 8.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4561, allocations: 4 kB / 0.6143 GB, free: 8.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003604/0.4597, allocations: 1.53 MB / 0.6158 GB, free: 6.613 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4597, allocations: 12 kB / 0.6158 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.4597, allocations: 16 kB / 0.6158 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.4601, allocations: 133.7 kB / 0.6159 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.4624, allocations: 447.4 kB / 0.6164 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.4654, allocations: 2.727 MB / 0.619 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.4663, allocations: 39.98 kB / 0.6191 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.4665, allocations: 180 kB / 0.6192 GB, free: 2.863 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.001182/0.4677, allocations: 0.6027 MB / 0.6198 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.468, allocations: 119.2 kB / 0.6199 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.4718, allocations: 1.511 MB / 0.6214 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4718, allocations: 4 kB / 0.6214 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4718, allocations: 4 kB / 0.6214 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4719, allocations: 3.984 kB / 0.6214 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.4766, allocations: 2.159 MB / 0.6235 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4766, allocations: 4 kB / 0.6235 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.4782, allocations: 212.1 kB / 0.6237 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002708/0.4785, allocations: 113.7 kB / 0.6238 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.4785, allocations: 19.98 kB / 0.6239 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.4815, allocations: 2.7 MB / 0.6265 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4815, allocations: 4 kB / 0.6265 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.4843, allocations: 1.198 MB / 0.6277 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.4846, allocations: 99.23 kB / 0.6278 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4847, allocations: 12 kB / 0.6278 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.4852, allocations: 32.05 kB / 0.6278 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4853, allocations: 48.23 kB / 0.6279 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.4853, allocations: 27.98 kB / 0.6279 GB, free: 9.578 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.4864, allocations: 0.7545 MB / 0.6286 GB, free: 8.816 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4864, allocations: 0 / 0.6286 GB, free: 8.816 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001483/0.4879, allocations: 399.7 kB / 0.629 GB, free: 8.426 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.0006114/0.4885, allocations: 381.2 kB / 0.6294 GB, free: 8.051 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.4908, allocations: 1.062 MB / 0.6304 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4908, allocations: 0 / 0.6304 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4918, allocations: 491.7 kB / 0.6309 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.4931, allocations: 272.8 kB / 0.6311 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.4992, allocations: 3.533 MB / 0.6346 GB, free: 2.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.5004, allocations: 1.002 MB / 0.6356 GB, free: 1.555 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.5016, allocations: 382.7 kB / 0.6359 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.5021, allocations: 159.3 kB / 0.6361 GB, free: 1.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5021, allocations: 0 / 0.6361 GB, free: 1.02 MB / 478.1 MB Notification: Performance of Templates: time 0.03855/0.5407, allocations: 24.26 MB / 0.6598 GB, free: 8.992 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.382826475994079] Failed to read output from testmodel.py, exit status != 0: 0.5496460930007743 0.563504445 0.17099792199999994 Calling exit ...