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.00135/0.00135, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001728/0.001728, allocations: 213 kB / 23 MB, free: 4.605 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1551/0.1551, allocations: 23.89 MB / 337.1 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.002066/0.002066, allocations: 67.89 kB / 472.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3762, allocations: 59.88 MB / 0.5199 GB, free: 9.809 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.0468/0.423, allocations: 29.65 MB / 0.5488 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.4416, allocations: 9.155 MB / 0.5578 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.4447, allocations: 35.75 kB / 0.5578 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.4487, allocations: 1.018 MB / 0.5588 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.4526, allocations: 0.8519 MB / 0.5596 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.4559, allocations: 0.9028 MB / 0.5605 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003466/0.4594, allocations: 1.977 MB / 0.5624 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.4601, allocations: 442.6 kB / 0.5629 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.4613, allocations: 0.8263 MB / 0.5637 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.463, allocations: 1.118 MB / 0.5648 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.4632, allocations: 208 kB / 0.5649 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.4676, allocations: 1.634 MB / 0.5665 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.4681, allocations: 0.5878 MB / 0.5671 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.4692, allocations: 1.154 MB / 0.5682 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.4752, allocations: 4.001 MB / 0.5722 GB, free: 4.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4752, allocations: 4 kB / 0.5722 GB, free: 4.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4752, allocations: 0 / 0.5722 GB, free: 4.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.4753, allocations: 0 / 0.5722 GB, free: 4.434 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.004159/0.4794, allocations: 2.518 MB / 0.5746 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4795, allocations: 15.97 kB / 0.5746 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.4803, allocations: 411 kB / 0.575 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.4817, allocations: 0.9051 MB / 0.5759 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.482, allocations: 271.4 kB / 0.5762 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.4823, allocations: 204.3 kB / 0.5764 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008/0.4903, allocations: 6.907 MB / 0.5831 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.4903, allocations: 0 / 0.5831 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.4905, allocations: 87.91 kB / 0.5832 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/0.4908, allocations: 328.8 kB / 0.5835 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.5045, allocations: 12.62 MB / 0.5958 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.5233, allocations: 11.31 MB / 0.6069 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.5249, allocations: 0.7331 MB / 0.6076 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.5257, allocations: 390.6 kB / 0.608 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007386/0.533, allocations: 3.524 MB / 0.6114 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.5331, allocations: 43 kB / 0.6114 GB, free: 11.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.344e-06/0.5331, allocations: 0 / 0.6114 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.007516/0.5406, allocations: 2.635 MB / 0.614 GB, free: 9.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5406, allocations: 60.06 kB / 0.6141 GB, free: 9.109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.5426, allocations: 1.481 MB / 0.6155 GB, free: 7.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.5427, allocations: 37.7 kB / 0.6156 GB, free: 7.578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009004/0.5436, allocations: 1.122 MB / 0.6166 GB, free: 6.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.5438, allocations: 253.9 kB / 0.6169 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.5443, allocations: 302.8 kB / 0.6172 GB, free: 5.887 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5444, allocations: 345.9 kB / 0.6175 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.5451, allocations: 386.5 kB / 0.6179 GB, free: 5.168 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5462, allocations: 0.8282 MB / 0.6187 GB, free: 4.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.5482, allocations: 1.298 MB / 0.62 GB, free: 2.609 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.5482, allocations: 4 kB / 0.62 GB, free: 2.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003526/0.5517, allocations: 1.573 MB / 0.6215 GB, free: 1.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.5517, allocations: 12 kB / 0.6215 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.5517, allocations: 15.94 kB / 0.6215 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.5521, allocations: 129.8 kB / 0.6216 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/0.5544, allocations: 443.4 kB / 0.6221 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.5575, allocations: 2.781 MB / 0.6248 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/0.5584, allocations: 43.92 kB / 0.6248 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.5586, allocations: 176 kB / 0.625 GB, free: 13.2 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.001094/0.5597, allocations: 0.6111 MB / 0.6256 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.56, allocations: 162.9 kB / 0.6257 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.5638, allocations: 1.542 MB / 0.6273 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5638, allocations: 8 kB / 0.6273 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5638, allocations: 0 / 0.6273 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5639, allocations: 0 / 0.6273 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/0.5694, allocations: 2.761 MB / 0.63 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5694, allocations: 4 kB / 0.63 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.571, allocations: 220.2 kB / 0.6302 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.5712, allocations: 109.7 kB / 0.6303 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.5713, allocations: 16 kB / 0.6303 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.5743, allocations: 2.754 MB / 0.633 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.5743, allocations: 11.88 kB / 0.633 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.5772, allocations: 1.24 MB / 0.6342 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.5776, allocations: 162.9 kB / 0.6344 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.5778, allocations: 19.98 kB / 0.6344 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.5784, allocations: 16 kB / 0.6344 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5785, allocations: 60.22 kB / 0.6344 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.5786, allocations: 28.05 kB / 0.6345 GB, free: 3.031 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001717/0.5803, allocations: 1.129 MB / 0.6356 GB, free: 1.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5803, allocations: 0 / 0.6356 GB, free: 1.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001577/0.5819, allocations: 415.7 kB / 0.636 GB, free: 1.504 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.0006814/0.5825, allocations: 370.5 kB / 0.6363 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.585, allocations: 1.053 MB / 0.6374 GB, free: 60 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.585, allocations: 5 kB / 0.6374 GB, free: 56 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5861, allocations: 495.8 kB / 0.6378 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5879, allocations: 421.9 kB / 0.6382 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.5949, allocations: 3.714 MB / 0.6419 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.5964, allocations: 1.584 MB / 0.6434 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000823/0.5972, allocations: 211.3 kB / 0.6436 GB, free: 9.516 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5972, allocations: 3.938 kB / 0.6436 GB, free: 9.512 MB / 494.1 MB Notification: Performance of Templates: time 0.0624/0.6596, allocations: 46.78 MB / 0.6893 GB, free: 10.74 MB / 0.5294 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: 12.604666931991233] Failed to read output from testmodel.py, exit status != 0: 0.6695911809802055 0.684060317 0.20559179299999994 Calling exit ...