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.001426/0.001426, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001612/0.001612, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.996 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.1435/0.1435, allocations: 23.89 MB / 336.3 MB, free: 11.17 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.002143/0.002143, allocations: 67.91 kB / 471.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3563, allocations: 59.88 MB / 0.5191 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.04393/0.4002, allocations: 29.6 MB / 0.548 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.4169, allocations: 9.156 MB / 0.557 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.4197, allocations: 35.81 kB / 0.557 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004211/0.4239, allocations: 1.006 MB / 0.558 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.4281, allocations: 0.8518 MB / 0.5588 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.4318, allocations: 0.9079 MB / 0.5597 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.4364, allocations: 1.98 MB / 0.5616 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.4374, allocations: 442.5 kB / 0.5621 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.4391, allocations: 0.8312 MB / 0.5629 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.4415, allocations: 1.113 MB / 0.564 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.4422, allocations: 208 kB / 0.5642 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.4476, allocations: 1.631 MB / 0.5657 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.4486, allocations: 0.5878 MB / 0.5663 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.4508, allocations: 1.154 MB / 0.5674 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/0.4582, allocations: 4.001 MB / 0.5714 GB, free: 4.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4582, allocations: 0 / 0.5714 GB, free: 4.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4583, allocations: 4 kB / 0.5714 GB, free: 4.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.114e-05/0.4583, allocations: 0 / 0.5714 GB, free: 4.508 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.004381/0.4627, allocations: 2.522 MB / 0.5738 GB, free: 1.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4627, allocations: 12.03 kB / 0.5738 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000904/0.4636, allocations: 407 kB / 0.5742 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.4652, allocations: 0.909 MB / 0.5751 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.4655, allocations: 275.3 kB / 0.5754 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.4658, allocations: 204.3 kB / 0.5756 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009718/0.4755, allocations: 6.907 MB / 0.5823 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.4755, allocations: 0 / 0.5823 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.4757, allocations: 83.92 kB / 0.5824 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004611/0.4762, allocations: 328.8 kB / 0.5827 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.4934, allocations: 12.62 MB / 0.595 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.517, allocations: 11.31 MB / 0.6061 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.5187, allocations: 0.7448 MB / 0.6068 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.5195, allocations: 386.7 kB / 0.6072 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007748/0.5273, allocations: 3.524 MB / 0.6106 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.5273, allocations: 39.06 kB / 0.6106 GB, free: 11.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.355e-06/0.5273, allocations: 0 / 0.6106 GB, free: 11.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.007665/0.535, allocations: 2.627 MB / 0.6132 GB, free: 9.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.535, allocations: 67.98 kB / 0.6133 GB, free: 9.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.5376, allocations: 1.481 MB / 0.6147 GB, free: 7.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.5378, allocations: 37.7 kB / 0.6148 GB, free: 7.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.5388, allocations: 1.122 MB / 0.6159 GB, free: 6.512 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.5391, allocations: 249.9 kB / 0.6161 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.5397, allocations: 306.8 kB / 0.6164 GB, free: 5.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.5399, allocations: 349.9 kB / 0.6167 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.5407, allocations: 386.5 kB / 0.6171 GB, free: 5.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.5419, allocations: 0.8243 MB / 0.6179 GB, free: 4.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.5441, allocations: 1.294 MB / 0.6192 GB, free: 2.684 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.5442, allocations: 4 kB / 0.6192 GB, free: 2.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00414/0.5483, allocations: 1.573 MB / 0.6207 GB, free: 1.094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.5483, allocations: 12 kB / 0.6207 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/0.5484, allocations: 15.94 kB / 0.6207 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.5488, allocations: 129.8 kB / 0.6208 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.5513, allocations: 443.4 kB / 0.6213 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.5548, allocations: 2.781 MB / 0.624 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.556, allocations: 36 kB / 0.624 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/0.5563, allocations: 180 kB / 0.6242 GB, free: 13.28 MB / 478.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.001364/0.5577, allocations: 0.61 MB / 0.6248 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.5581, allocations: 162.9 kB / 0.6249 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.5626, allocations: 1.534 MB / 0.6264 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.5626, allocations: 11.98 kB / 0.6265 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5626, allocations: 7.938 kB / 0.6265 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5626, allocations: 3.938 kB / 0.6265 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/0.5694, allocations: 2.761 MB / 0.6292 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5694, allocations: 4 kB / 0.6292 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.5711, allocations: 216.1 kB / 0.6294 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.5715, allocations: 109.7 kB / 0.6295 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.5715, allocations: 16 kB / 0.6295 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.5748, allocations: 2.754 MB / 0.6322 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.5748, allocations: 11.88 kB / 0.6322 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/0.5779, allocations: 1.24 MB / 0.6334 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.5784, allocations: 166.9 kB / 0.6336 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.5788, allocations: 19.98 kB / 0.6336 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.5795, allocations: 16 kB / 0.6336 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5797, allocations: 56.22 kB / 0.6336 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.5797, allocations: 24.06 kB / 0.6337 GB, free: 3.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.5819, allocations: 1.137 MB / 0.6348 GB, free: 1.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5819, allocations: 0 / 0.6348 GB, free: 1.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001826/0.5837, allocations: 411.7 kB / 0.6352 GB, free: 1.582 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.0008427/0.5846, allocations: 370.5 kB / 0.6355 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.5873, allocations: 1.057 MB / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5873, allocations: 0.9375 kB / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5885, allocations: 495.7 kB / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.5908, allocations: 424.9 kB / 0.6374 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008157/0.599, allocations: 3.575 MB / 0.6409 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/0.6011, allocations: 1.588 MB / 0.6425 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001688/0.6028, allocations: 442.2 kB / 0.6429 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.6034, allocations: 187.3 kB / 0.6431 GB, free: 9.316 MB / 494.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6034, allocations: 0 / 0.6431 GB, free: 9.316 MB / 494.1 MB Notification: Performance of Templates: time 0.05301/0.6565, allocations: 27.15 MB / 0.6696 GB, free: 14.28 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: 6.275162688922137] Failed to read output from testmodel.py, exit status != 0: 0.6665157093666494 0.683514289 0.22166664700000002 Calling exit ...