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.00147/0.00147, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.00158/0.00158, allocations: 156.6 kB / 23.01 MB, free: 4.945 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.354/1.354, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] 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.1276/0.1276, allocations: 17.44 MB / 277.2 MB, free: 15.16 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.002015/0.002015, allocations: 59.91 kB / 412.6 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 59.88 MB / 472.4 MB, free: 9.562 MB / 446.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.2699/0.3803, allocations: 28.58 MB / 0.4893 GB, free: 38.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009406/0.3897, allocations: 8.243 MB / 0.4973 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.3904, allocations: 35.53 kB / 0.4974 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.3924, allocations: 0.9269 MB / 0.4983 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.3939, allocations: 0.8619 MB / 0.4991 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.3956, allocations: 0.9643 MB / 0.5001 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.3973, allocations: 2.017 MB / 0.502 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.3979, allocations: 437.2 kB / 0.5024 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007434/0.3986, allocations: 0.8443 MB / 0.5033 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3997, allocations: 0.9907 MB / 0.5042 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.3999, allocations: 209.7 kB / 0.5044 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.402, allocations: 1.104 MB / 0.5055 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.4023, allocations: 0.5911 MB / 0.5061 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.4029, allocations: 0.8802 MB / 0.5069 GB, free: 31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.4061, allocations: 3.904 MB / 0.5108 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4061, allocations: 1.344 kB / 0.5108 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4061, allocations: 0 / 0.5108 GB, free: 29.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.4061, allocations: 0 / 0.5108 GB, free: 29.16 MB / 446.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.00304/0.4092, allocations: 2.558 MB / 0.5133 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4092, allocations: 13.28 kB / 0.5133 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007157/0.4099, allocations: 412.7 kB / 0.5137 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.411, allocations: 0.9163 MB / 0.5146 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.4112, allocations: 275.4 kB / 0.5148 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.4114, allocations: 200.4 kB / 0.515 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00656/0.418, allocations: 7.408 MB / 0.5222 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.418, allocations: 5.531 kB / 0.5223 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.4182, allocations: 79.7 kB / 0.5223 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00029/0.4185, allocations: 331.3 kB / 0.5226 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008803/0.4273, allocations: 13.33 MB / 0.5357 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.4385, allocations: 10.33 MB / 0.5458 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.4398, allocations: 0.7363 MB / 0.5465 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.4403, allocations: 403.1 kB / 0.5469 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.4464, allocations: 3.396 MB / 0.5502 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4465, allocations: 39.81 kB / 0.5502 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.896e-06/0.4465, allocations: 0 / 0.5502 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006809/0.4533, allocations: 2.559 MB / 0.5527 GB, free: 14.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4533, allocations: 60.62 kB / 0.5528 GB, free: 14.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.4547, allocations: 1.033 MB / 0.5538 GB, free: 13.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/0.4548, allocations: 41.64 kB / 0.5538 GB, free: 13.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008815/0.4557, allocations: 1.19 MB / 0.555 GB, free: 12.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.4559, allocations: 244.7 kB / 0.5552 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.4563, allocations: 308.2 kB / 0.5555 GB, free: 11.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4565, allocations: 351.5 kB / 0.5558 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.4572, allocations: 386.5 kB / 0.5562 GB, free: 11.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4583, allocations: 0.8525 MB / 0.557 GB, free: 9.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.4602, allocations: 1.334 MB / 0.5583 GB, free: 8.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.4602, allocations: 8 kB / 0.5584 GB, free: 8.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0035/0.4637, allocations: 1.558 MB / 0.5599 GB, free: 7.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4637, allocations: 20.78 kB / 0.5599 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.4638, allocations: 16 kB / 0.5599 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.4641, allocations: 120.1 kB / 0.56 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.4668, allocations: 0.5446 MB / 0.5606 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.4698, allocations: 2.729 MB / 0.5632 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/0.4707, allocations: 46.48 kB / 0.5633 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.4709, allocations: 186.9 kB / 0.5634 GB, free: 3.375 MB / 462.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.00115/0.4721, allocations: 0.6032 MB / 0.564 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.4724, allocations: 123.3 kB / 0.5642 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.476, allocations: 1.509 MB / 0.5656 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.476, allocations: 8 kB / 0.5656 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.476, allocations: 4 kB / 0.5656 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.476, allocations: 2.906 kB / 0.5656 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.4807, allocations: 2.143 MB / 0.5677 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4808, allocations: 4 kB / 0.5677 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/0.4828, allocations: 310.7 kB / 0.568 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.4831, allocations: 108.7 kB / 0.5681 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.4832, allocations: 15 kB / 0.5681 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.486, allocations: 2.701 MB / 0.5708 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.486, allocations: 7.969 kB / 0.5708 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.4889, allocations: 1.239 MB / 0.572 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.4892, allocations: 93.41 kB / 0.5721 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.4894, allocations: 20.56 kB / 0.5721 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.4898, allocations: 22.67 kB / 0.5721 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4899, allocations: 58.17 kB / 0.5722 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.49, allocations: 23.42 kB / 0.5722 GB, free: 10.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.4911, allocations: 0.7662 MB / 0.573 GB, free: 10.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4911, allocations: 4 kB / 0.573 GB, free: 10.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001629/0.4928, allocations: 404.7 kB / 0.5734 GB, free: 9.844 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.0006287/0.4934, allocations: 373.1 kB / 0.5737 GB, free: 9.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.4958, allocations: 1.11 MB / 0.5748 GB, free: 8.445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4958, allocations: 3.938 kB / 0.5748 GB, free: 8.441 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009967/0.4968, allocations: 494.1 kB / 0.5753 GB, free: 7.969 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.498, allocations: 274.7 kB / 0.5755 GB, free: 7.754 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/0.5041, allocations: 3.573 MB / 0.579 GB, free: 4.348 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.5054, allocations: 1.019 MB / 0.58 GB, free: 3.578 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001208/0.5066, allocations: 388 kB / 0.5804 GB, free: 3.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.507, allocations: 164.4 kB / 0.5805 GB, free: 3.086 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.507, allocations: 0 / 0.5805 GB, free: 3.086 MB / 478.1 MB Notification: Performance of Templates: time 0.03544/0.5425, allocations: 21.53 MB / 0.6016 GB, free: 14.11 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 ida -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.377224680036306] Failed to read output from testmodel.py, exit status != 0: 0.5511268159607425 0.56428565 0.15526245399999994 Calling exit ...