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.001323/0.001323, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001525/0.001525, allocations: 222.3 kB / 23 MB, free: 4.91 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.452/1.452, 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.1396/0.1396, allocations: 23.99 MB / 337.2 MB, free: 10.88 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.002116/0.002116, allocations: 68.12 kB / 472.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3498, allocations: 59.9 MB / 0.5199 GB, free: 9.801 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.07545/0.4252, allocations: 28.62 MB / 0.5479 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.4421, allocations: 8.24 MB / 0.5559 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.4444, allocations: 35.75 kB / 0.556 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.4478, allocations: 0.922 MB / 0.5569 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.4513, allocations: 0.8729 MB / 0.5577 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.4546, allocations: 0.9624 MB / 0.5587 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00398/0.4586, allocations: 2.02 MB / 0.5606 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008322/0.4594, allocations: 426.4 kB / 0.561 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4609, allocations: 0.8518 MB / 0.5619 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4625, allocations: 0.9876 MB / 0.5628 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003181/0.4628, allocations: 212 kB / 0.563 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.4664, allocations: 1.1 MB / 0.5641 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007211/0.4671, allocations: 0.5867 MB / 0.5647 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.4683, allocations: 0.8819 MB / 0.5655 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00685/0.4751, allocations: 3.912 MB / 0.5694 GB, free: 6.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4751, allocations: 0 / 0.5694 GB, free: 6.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4751, allocations: 0 / 0.5694 GB, free: 6.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.598e-05/0.4752, allocations: 0 / 0.5694 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.004704/0.4799, allocations: 2.557 MB / 0.5719 GB, free: 4.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4799, allocations: 8.031 kB / 0.5719 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.4809, allocations: 411 kB / 0.5723 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.4825, allocations: 0.9246 MB / 0.5732 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.4828, allocations: 275.4 kB / 0.5734 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.4831, allocations: 200.4 kB / 0.5736 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009443/0.4925, allocations: 7.409 MB / 0.5809 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.4926, allocations: 4 kB / 0.5809 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.4927, allocations: 83.98 kB / 0.5809 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003595/0.4931, allocations: 332.7 kB / 0.5813 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.5086, allocations: 13.34 MB / 0.5943 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.5263, allocations: 10.32 MB / 0.6044 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5281, allocations: 0.7382 MB / 0.6051 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.5288, allocations: 403.7 kB / 0.6055 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007166/0.536, allocations: 3.394 MB / 0.6088 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.536, allocations: 39.06 kB / 0.6088 GB, free: 14.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 4.338e-06/0.536, allocations: 0 / 0.6088 GB, free: 14.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.006883/0.5429, allocations: 2.559 MB / 0.6113 GB, free: 11.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.5429, allocations: 60.06 kB / 0.6114 GB, free: 11.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.5444, allocations: 1.027 MB / 0.6124 GB, free: 10.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5445, allocations: 41.7 kB / 0.6124 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.5456, allocations: 1.185 MB / 0.6136 GB, free: 9.285 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.5459, allocations: 250 kB / 0.6138 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.5464, allocations: 310.7 kB / 0.6141 GB, free: 8.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5466, allocations: 349.9 kB / 0.6144 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.5473, allocations: 382.5 kB / 0.6148 GB, free: 8.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.5485, allocations: 0.8597 MB / 0.6156 GB, free: 6.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.5505, allocations: 1.333 MB / 0.6169 GB, free: 5.352 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.5505, allocations: 4 kB / 0.617 GB, free: 5.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003616/0.5541, allocations: 1.557 MB / 0.6185 GB, free: 3.777 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.5542, allocations: 16.41 kB / 0.6185 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.5542, allocations: 20 kB / 0.6185 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.5546, allocations: 129.6 kB / 0.6186 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.5574, allocations: 0.5384 MB / 0.6192 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.5606, allocations: 2.731 MB / 0.6218 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.5616, allocations: 44 kB / 0.6219 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/0.562, allocations: 184 kB / 0.622 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.00132/0.5633, allocations: 0.6027 MB / 0.6226 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.5637, allocations: 115.2 kB / 0.6227 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.5676, allocations: 1.511 MB / 0.6242 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5676, allocations: 8 kB / 0.6242 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5677, allocations: 3.938 kB / 0.6242 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5677, allocations: 7.984 kB / 0.6242 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/0.5729, allocations: 2.143 MB / 0.6263 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5729, allocations: 7.984 kB / 0.6263 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/0.575, allocations: 312.1 kB / 0.6266 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.5753, allocations: 109.7 kB / 0.6267 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.5754, allocations: 19.98 kB / 0.6268 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/0.5784, allocations: 2.692 MB / 0.6294 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.5784, allocations: 7.938 kB / 0.6294 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.5815, allocations: 1.239 MB / 0.6306 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.5818, allocations: 95.25 kB / 0.6307 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.582, allocations: 23.94 kB / 0.6307 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.5826, allocations: 20 kB / 0.6307 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5827, allocations: 60.22 kB / 0.6308 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.5828, allocations: 20 kB / 0.6308 GB, free: 6.523 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.5841, allocations: 0.7631 MB / 0.6316 GB, free: 5.754 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5841, allocations: 4.062 kB / 0.6316 GB, free: 5.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001722/0.5858, allocations: 411.7 kB / 0.632 GB, free: 5.348 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.000788/0.5866, allocations: 366.5 kB / 0.6323 GB, free: 4.977 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.5893, allocations: 1.097 MB / 0.6334 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.5893, allocations: 8.125 kB / 0.6334 GB, free: 3.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.5903, allocations: 495.6 kB / 0.6339 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.001513/0.5918, allocations: 291.7 kB / 0.6341 GB, free: 3.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/0.5999, allocations: 3.727 MB / 0.6378 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.6013, allocations: 1.011 MB / 0.6388 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/0.6021, allocations: 187.3 kB / 0.6389 GB, free: 14.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6021, allocations: 0 / 0.6389 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Templates: time 0.06052/0.6626, allocations: 44.88 MB / 0.6828 GB, free: 1.109 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: 10.827039672993124] Failed to read output from testmodel.py, exit status != 0: 0.6724741710349917 0.68677619 0.20835581700000003 Calling exit ...