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.001347/0.001347, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001444/0.001444, allocations: 210 kB / 22.99 MB, free: 4.957 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.793 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.1544/0.1544, allocations: 23.92 MB / 337.1 MB, free: 10.9 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.002001/0.002001, allocations: 71.89 kB / 472.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 59.88 MB / 0.5198 GB, free: 9.859 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.07731/0.4645, allocations: 28.33 MB / 0.5475 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.4799, allocations: 7.972 MB / 0.5553 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.4824, allocations: 43.69 kB / 0.5553 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.486, allocations: 0.9243 MB / 0.5562 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.4894, allocations: 0.8596 MB / 0.5571 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.4928, allocations: 0.8993 MB / 0.5579 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.4967, allocations: 1.98 MB / 0.5599 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.4975, allocations: 438.8 kB / 0.5603 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.4989, allocations: 0.8275 MB / 0.5611 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.5009, allocations: 1.114 MB / 0.5622 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.5012, allocations: 208 kB / 0.5624 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.5054, allocations: 1.062 MB / 0.5634 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007479/0.5061, allocations: 0.5965 MB / 0.564 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.5073, allocations: 0.8647 MB / 0.5648 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.5142, allocations: 3.841 MB / 0.5686 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5142, allocations: 0 / 0.5686 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5142, allocations: 0 / 0.5686 GB, free: 7.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.734e-05/0.5143, allocations: 0 / 0.5686 GB, free: 7.762 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.004515/0.5188, allocations: 2.526 MB / 0.5711 GB, free: 5.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5189, allocations: 12.02 kB / 0.5711 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.5197, allocations: 407 kB / 0.5715 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.5213, allocations: 0.9129 MB / 0.5723 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/0.5216, allocations: 271.4 kB / 0.5726 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.5219, allocations: 200.3 kB / 0.5728 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009708/0.5316, allocations: 6.899 MB / 0.5795 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.5316, allocations: 0 / 0.5795 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.5318, allocations: 83.97 kB / 0.5796 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003618/0.5321, allocations: 328.8 kB / 0.5799 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.5464, allocations: 12.6 MB / 0.5922 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.5635, allocations: 9.953 MB / 0.602 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.565, allocations: 0.7296 MB / 0.6027 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.5657, allocations: 390.7 kB / 0.603 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006893/0.5726, allocations: 3.233 MB / 0.6062 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.5726, allocations: 43.06 kB / 0.6062 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.5726, allocations: 0 / 0.6062 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.007084/0.5797, allocations: 2.584 MB / 0.6088 GB, free: 14.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.5798, allocations: 60 kB / 0.6088 GB, free: 14.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.5812, allocations: 1.014 MB / 0.6098 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/0.5813, allocations: 41.7 kB / 0.6099 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/0.5822, allocations: 1.154 MB / 0.611 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.5824, allocations: 257.8 kB / 0.6112 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.5829, allocations: 302.7 kB / 0.6115 GB, free: 11.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5831, allocations: 349.9 kB / 0.6118 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.5838, allocations: 378.5 kB / 0.6122 GB, free: 10.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.5849, allocations: 0.836 MB / 0.613 GB, free: 9.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.5868, allocations: 1.294 MB / 0.6143 GB, free: 8.094 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.5868, allocations: 4 kB / 0.6143 GB, free: 8.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003777/0.5906, allocations: 1.53 MB / 0.6158 GB, free: 6.547 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.5906, allocations: 12 kB / 0.6158 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.5907, allocations: 19.94 kB / 0.6158 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.591, allocations: 129.8 kB / 0.6159 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.5933, allocations: 443.4 kB / 0.6164 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.5965, allocations: 2.731 MB / 0.619 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.5973, allocations: 40.31 kB / 0.6191 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.5976, allocations: 180 kB / 0.6192 GB, free: 2.797 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.001343/0.599, allocations: 0.5989 MB / 0.6198 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.5993, allocations: 119.2 kB / 0.6199 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.6032, allocations: 1.507 MB / 0.6214 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6032, allocations: 12 kB / 0.6214 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6032, allocations: 0 / 0.6214 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6033, allocations: 3.984 kB / 0.6214 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.6081, allocations: 2.163 MB / 0.6235 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.6081, allocations: 4 kB / 0.6235 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.6097, allocations: 203.8 kB / 0.6237 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.61, allocations: 113.6 kB / 0.6238 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.6101, allocations: 16 kB / 0.6239 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.6131, allocations: 2.708 MB / 0.6265 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6131, allocations: 4 kB / 0.6265 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.6161, allocations: 1.197 MB / 0.6277 GB, free: 9.746 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.6164, allocations: 99.25 kB / 0.6278 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.6165, allocations: 12 kB / 0.6278 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.617, allocations: 27.92 kB / 0.6278 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6171, allocations: 56.28 kB / 0.6279 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.6172, allocations: 23.94 kB / 0.6279 GB, free: 9.531 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001228/0.6184, allocations: 0.7585 MB / 0.6286 GB, free: 8.766 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6184, allocations: 0 / 0.6286 GB, free: 8.766 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001771/0.6202, allocations: 399.7 kB / 0.629 GB, free: 8.375 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.0007274/0.6209, allocations: 369.9 kB / 0.6294 GB, free: 8.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.6234, allocations: 1.066 MB / 0.6304 GB, free: 6.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6234, allocations: 0 / 0.6304 GB, free: 6.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6244, allocations: 492.7 kB / 0.6309 GB, free: 6.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.6257, allocations: 274.7 kB / 0.6311 GB, free: 6.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.6321, allocations: 3.529 MB / 0.6346 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.6334, allocations: 0.9983 MB / 0.6356 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.6347, allocations: 398.6 kB / 0.6359 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.6352, allocations: 155.3 kB / 0.6361 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of SimCode: time 1.593e-06/0.6352, allocations: 0 / 0.6361 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of Templates: time 0.04028/0.6755, allocations: 24.27 MB / 0.6598 GB, free: 8.938 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.067003759002546] Failed to read output from testmodel.py, exit status != 0: 0.6843645590124652 0.697517583 0.18031451299999995 Calling exit ...