Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.001367/0.001367, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001608/0.001608, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.1328/0.1328, allocations: 17.45 MB / 276.6 MB, free: 15.21 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.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 412.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.548e-05, allocations: 2.281 kB / 412.1 MB, free: 4.301 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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/Obsolete.mo:14335:7-14335: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.Obsolete.Examples.H2O_ElectrochemicalCell): time 0.03933/0.03935, allocations: 28.53 MB / 440.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1845/0.2239, allocations: 17.12 MB / 457.8 MB, free: 31.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.225, allocations: 27.56 kB / 457.8 MB, free: 31.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.2264, allocations: 474.4 kB / 458.2 MB, free: 30.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.2298, allocations: 1.249 MB / 459.5 MB, free: 30.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007243/0.237, allocations: 2.978 MB / 462.5 MB, free: 28.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.2396, allocations: 2.174 MB / 464.6 MB, free: 27.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.241, allocations: 1.062 MB / 465.7 MB, free: 27.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.2423, allocations: 1.35 MB / 467.1 MB, free: 26.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.2435, allocations: 0.8185 MB / 467.9 MB, free: 26.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.2438, allocations: 199.7 kB / 468.1 MB, free: 26.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/0.2491, allocations: 1.982 MB / 470 MB, free: 25.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.2494, allocations: 484.6 kB / 470.5 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008244/0.2503, allocations: 0.6975 MB / 471.2 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.2571, allocations: 4.578 MB / 475.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2571, allocations: 3.984 kB / 475.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2571, allocations: 0 / 475.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.2571, allocations: 0 / 475.8 MB, free: 22.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.003465/0.2606, allocations: 2.301 MB / 478.1 MB, free: 21.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2606, allocations: 8.531 kB / 478.1 MB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.2621, allocations: 448.8 kB / 478.5 MB, free: 20.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.2636, allocations: 1.018 MB / 479.6 MB, free: 20.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2637, allocations: 233.4 kB / 479.8 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.2639, allocations: 171.7 kB / 480 MB, free: 19.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.2667, allocations: 2.232 MB / 482.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.2667, allocations: 5.312 kB / 482.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.2669, allocations: 74.47 kB / 482.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.2669, allocations: 43.22 kB / 482.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.2699, allocations: 2.693 MB / 485 MB, free: 15.66 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007771/0.2777, allocations: 6.109 MB / 491.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.279, allocations: 0.9864 MB / 492.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.2796, allocations: 0.5174 MB / 492.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005609/0.2853, allocations: 2.967 MB / 495.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2853, allocations: 47.16 kB / 495.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004323/0.2857, allocations: 99.17 kB / 495.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.805e-06/0.2857, allocations: 0 / 495.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=95): time 0.01634/0.3021, allocations: 4.568 MB / 0.4886 GB, free: 196 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3021, allocations: 115.8 kB / 0.4887 GB, free: 56 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.3039, allocations: 1.453 MB / 0.4901 GB, free: 14.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.3039, allocations: 41.7 kB / 0.4901 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007069/0.3047, allocations: 0.9278 MB / 0.491 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.305, allocations: 353.1 kB / 0.4914 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/0.3055, allocations: 355.3 kB / 0.4917 GB, free: 12.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3057, allocations: 361.9 kB / 0.4921 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3068, allocations: 0.6351 MB / 0.4927 GB, free: 11.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.3085, allocations: 1.345 MB / 0.494 GB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.3112, allocations: 1.928 MB / 0.4959 GB, free: 8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.3113, allocations: 8 kB / 0.4959 GB, free: 7.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005833/0.3171, allocations: 2.378 MB / 0.4982 GB, free: 5.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.3171, allocations: 16 kB / 0.4982 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.3172, allocations: 24 kB / 0.4983 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/0.3198, allocations: 378.8 kB / 0.4986 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.3225, allocations: 0.559 MB / 0.4992 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.3317, allocations: 7.382 MB / 0.5064 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.3332, allocations: 86.48 kB / 0.5065 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.3334, allocations: 108 kB / 0.5066 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007048/0.3341, allocations: 361.1 kB / 0.5069 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.3344, allocations: 125.9 kB / 0.507 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.3392, allocations: 1.52 MB / 0.5085 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3392, allocations: 14.66 kB / 0.5085 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3392, allocations: 0 / 0.5085 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3393, allocations: 6.75 kB / 0.5085 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006852/0.3461, allocations: 2.654 MB / 0.5111 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.3461, allocations: 11.94 kB / 0.5111 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/0.347, allocations: 211.7 kB / 0.5113 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/0.3498, allocations: 411.2 kB / 0.5117 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.831e-05/0.3499, allocations: 43.98 kB / 0.5118 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008585/0.3585, allocations: 7.165 MB / 0.5188 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.3585, allocations: 15.88 kB / 0.5188 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/0.3639, allocations: 2.135 MB / 0.5209 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.3643, allocations: 119.2 kB / 0.521 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.3645, allocations: 32 kB / 0.521 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.3652, allocations: 31.92 kB / 0.521 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.3654, allocations: 108.3 kB / 0.5211 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.786e-05/0.3655, allocations: 47.98 kB / 0.5212 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.3668, allocations: 0.9713 MB / 0.5221 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3668, allocations: 2.656 kB / 0.5221 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002995/0.3698, allocations: 0.8221 MB / 0.5229 GB, free: 11.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.3716, allocations: 0.9365 MB / 0.5239 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.3751, allocations: 1.711 MB / 0.5255 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.3751, allocations: 0 / 0.5255 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.3766, allocations: 0.9563 MB / 0.5265 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.378, allocations: 212.4 kB / 0.5267 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.3825, allocations: 2.755 MB / 0.5294 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/0.3832, allocations: 0.6355 MB / 0.53 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009717/0.3842, allocations: 314.5 kB / 0.5303 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.3846, allocations: 177.8 kB / 0.5304 GB, free: 3.535 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3846, allocations: 0 / 0.5304 GB, free: 3.535 MB / 414.1 MB Notification: Performance of Templates: time 0.04907/0.4336, allocations: 27.8 MB / 0.5576 GB, free: 8.375 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.853822134435177] Failed to read output from testmodel.py, exit status != 0: 0.4432844892144203 0.45770085299999996 0.197527371 Calling exit ...