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.0007761/0.0007761, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007858/0.0007858, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8474/0.8474, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 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.07978/0.07978, allocations: 17.45 MB / 277.4 MB, free: 11.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 412.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.285e-05, allocations: 2.281 kB / 412.8 MB, free: 15.77 MB / 394.7 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.02318/0.02321, allocations: 29.12 MB / 442 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.159/0.1822, allocations: 8.953 MB / 450.9 MB, free: 59.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.1827, allocations: 55.53 kB / 451 MB, free: 59.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.1843, allocations: 1.055 MB / 452 MB, free: 59.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1854, allocations: 1.093 MB / 453.1 MB, free: 58.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1864, allocations: 1.115 MB / 454.2 MB, free: 58.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.1874, allocations: 2.264 MB / 456.5 MB, free: 57.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.1877, allocations: 439.6 kB / 456.9 MB, free: 56.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.1884, allocations: 1.33 MB / 458.3 MB, free: 56.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.189, allocations: 0.9443 MB / 459.2 MB, free: 55.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1891, allocations: 214.9 kB / 459.4 MB, free: 55.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1903, allocations: 1.351 MB / 460.8 MB, free: 55.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.1906, allocations: 0.664 MB / 461.4 MB, free: 55.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.1909, allocations: 0.7495 MB / 462.2 MB, free: 54.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.193, allocations: 4.082 MB / 466.3 MB, free: 52.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.193, allocations: 0 / 466.3 MB, free: 52.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.193, allocations: 0 / 466.3 MB, free: 52.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.193, allocations: 0 / 466.3 MB, free: 52.98 MB / 410.7 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.0019/0.1949, allocations: 2.605 MB / 468.9 MB, free: 51.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1949, allocations: 9.969 kB / 468.9 MB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.1954, allocations: 438.4 kB / 469.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.1964, allocations: 1.275 MB / 470.6 MB, free: 50.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.1965, allocations: 282.7 kB / 470.9 MB, free: 50.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1967, allocations: 207.2 kB / 471.1 MB, free: 50.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.2005, allocations: 7.394 MB / 478.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.2005, allocations: 4.125 kB / 478.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.355e-05/0.2006, allocations: 83.39 kB / 478.5 MB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.2008, allocations: 337.1 kB / 478.9 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008285/0.2091, allocations: 13.33 MB / 492.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008449/0.2175, allocations: 10.36 MB / 0.4908 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.2185, allocations: 0.7395 MB / 0.4915 GB, free: 36.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.219, allocations: 407.5 kB / 0.4919 GB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003615/0.2226, allocations: 3.397 MB / 0.4952 GB, free: 33.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2226, allocations: 36.05 kB / 0.4952 GB, free: 33.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.2226, allocations: 4 kB / 0.4952 GB, free: 33.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003274/0.2259, allocations: 2.557 MB / 0.4977 GB, free: 31.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2259, allocations: 64.06 kB / 0.4978 GB, free: 30.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.2266, allocations: 1.034 MB / 0.4988 GB, free: 30.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.2267, allocations: 33.7 kB / 0.4988 GB, free: 30.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.227, allocations: 1.192 MB / 0.5 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.2271, allocations: 253.1 kB / 0.5002 GB, free: 28.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2274, allocations: 304.7 kB / 0.5005 GB, free: 28.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.2274, allocations: 351.4 kB / 0.5009 GB, free: 28.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.2278, allocations: 382 kB / 0.5012 GB, free: 27.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.2283, allocations: 0.8564 MB / 0.5021 GB, free: 26.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.2292, allocations: 1.331 MB / 0.5034 GB, free: 25.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2292, allocations: 4 kB / 0.5034 GB, free: 25.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001718/0.231, allocations: 1.568 MB / 0.5049 GB, free: 23.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.231, allocations: 12 kB / 0.5049 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.231, allocations: 20 kB / 0.5049 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.2312, allocations: 128.8 kB / 0.5051 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2325, allocations: 0.5428 MB / 0.5056 GB, free: 23.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2337, allocations: 2.724 MB / 0.5082 GB, free: 20.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.234, allocations: 50.42 kB / 0.5083 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.2341, allocations: 183.6 kB / 0.5085 GB, free: 20.21 MB / 410.7 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.000535/0.2347, allocations: 0.61 MB / 0.5091 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2348, allocations: 123.9 kB / 0.5092 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.2367, allocations: 1.507 MB / 0.5107 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2367, allocations: 8.891 kB / 0.5107 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2367, allocations: 0 / 0.5107 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2367, allocations: 11.03 kB / 0.5107 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.239, allocations: 2.144 MB / 0.5128 GB, free: 16.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.239, allocations: 6.656 kB / 0.5128 GB, free: 16.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/0.2399, allocations: 310 kB / 0.5131 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.2401, allocations: 102.8 kB / 0.5132 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.2401, allocations: 18.91 kB / 0.5132 GB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.2411, allocations: 2.697 MB / 0.5158 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2412, allocations: 4 kB / 0.5158 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.2425, allocations: 1.239 MB / 0.517 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.2426, allocations: 104.6 kB / 0.5171 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.2426, allocations: 21.44 kB / 0.5172 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2429, allocations: 25.59 kB / 0.5172 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.2429, allocations: 53.64 kB / 0.5172 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.243, allocations: 25.16 kB / 0.5173 GB, free: 11.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005341/0.2435, allocations: 0.7738 MB / 0.518 GB, free: 11.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2435, allocations: 0 / 0.518 GB, free: 11.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008305/0.2443, allocations: 428.3 kB / 0.5184 GB, free: 10.84 MB / 410.7 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.0003855/0.2447, allocations: 377.5 kB / 0.5188 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.2458, allocations: 1.097 MB / 0.5198 GB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2459, allocations: 0 / 0.5198 GB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.2463, allocations: 0.4893 MB / 0.5203 GB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.247, allocations: 288 kB / 0.5206 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.25, allocations: 3.662 MB / 0.5242 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.2506, allocations: 1.011 MB / 0.5252 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.251, allocations: 203.1 kB / 0.5254 GB, free: 4.332 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.251, allocations: 2.688 kB / 0.5254 GB, free: 4.332 MB / 410.7 MB Notification: Performance of Templates: time 0.02807/0.2791, allocations: 46.57 MB / 0.5708 GB, free: 6.344 MB / 458.7 MB " [Timeout remaining time 660] 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.235445303842425] Failed to read output from testmodel.py, exit status != 0: 0.2841331623494625 0.2917065 0.09713344800000001 Calling exit ...