Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001045/0.001045, allocations: 77.88 kB / 20.66 MB, free: 3.852 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.001266/0.001266, allocations: 165 kB / 24.06 MB, free: 464 kB / 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 1.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.106/0.106, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.788e-05, allocations: 2.312 kB / 354.8 MB, free: 10.61 MB / 330.7 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.ElectrochemicalCell): time 0.03244/0.03246, allocations: 33.64 MB / 388.4 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.05384, allocations: 25.61 MB / 414 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.05521, allocations: 31.75 kB / 414.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.05648, allocations: 0.5618 MB / 414.6 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004782/0.06126, allocations: 2.203 MB / 416.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006792/0.06805, allocations: 3.638 MB / 420.5 MB, free: 8.883 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.07115, allocations: 2.948 MB / 423.4 MB, free: 5.918 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.07261, allocations: 1.405 MB / 424.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.07437, allocations: 1.965 MB / 426.8 MB, free: 2.496 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.07589, allocations: 1.263 MB / 428 MB, free: 1.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.07629, allocations: 260 kB / 428.3 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0056/0.08189, allocations: 2.725 MB / 431 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.08233, allocations: 0.6308 MB / 431.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.08333, allocations: 0.9472 MB / 432.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00847/0.0918, allocations: 5.276 MB / 437.9 MB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09181, allocations: 0 / 437.9 MB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.09181, allocations: 3.938 kB / 437.9 MB, free: 7.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.612e-05/0.09187, allocations: 4 kB / 437.9 MB, free: 7.359 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004211/0.09608, allocations: 3.171 MB / 441.1 MB, free: 4.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.09612, allocations: 8.031 kB / 441.1 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.09796, allocations: 0.8947 MB / 442 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.09941, allocations: 1.1 MB / 443.1 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.09958, allocations: 271.7 kB / 443.3 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/0.09983, allocations: 232.3 kB / 443.6 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1395/0.2393, allocations: 1.86 MB / 445.4 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.2394, allocations: 3.094 kB / 445.4 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.2395, allocations: 88.28 kB / 445.5 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.2396, allocations: 52.56 kB / 445.6 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.2415, allocations: 1.761 MB / 447.3 MB, free: 87.44 MB / 410.7 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.007215/0.2487, allocations: 7.027 MB / 454.3 MB, free: 85.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.2499, allocations: 1.122 MB / 455.5 MB, free: 85.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.2504, allocations: 487.7 kB / 455.9 MB, free: 85.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005307/0.2557, allocations: 4.167 MB / 460.1 MB, free: 84.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2557, allocations: 45.36 kB / 460.2 MB, free: 84.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.2557, allocations: 3.188 kB / 460.2 MB, free: 84.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01318/0.2689, allocations: 5.973 MB / 466.1 MB, free: 83.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2689, allocations: 94.55 kB / 466.2 MB, free: 83.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.2696, allocations: 1.14 MB / 467.4 MB, free: 83.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.2697, allocations: 56.2 kB / 467.4 MB, free: 83.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.2701, allocations: 1.146 MB / 468.6 MB, free: 82.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.2704, allocations: 0.6631 MB / 469.2 MB, free: 82.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/0.2708, allocations: 0.4893 MB / 469.7 MB, free: 82.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.75e-05/0.2708, allocations: 479.8 kB / 470.2 MB, free: 82.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.2712, allocations: 347.5 kB / 470.5 MB, free: 82.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.272, allocations: 1.548 MB / 472.1 MB, free: 80.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.2735, allocations: 2.134 MB / 474.2 MB, free: 79.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/0.2735, allocations: 9.656 kB / 474.2 MB, free: 79.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003395/0.2769, allocations: 2.18 MB / 476.4 MB, free: 78.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.2769, allocations: 15.91 kB / 476.4 MB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.277, allocations: 27.66 kB / 476.4 MB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.2791, allocations: 0.59 MB / 477 MB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.2812, allocations: 0.7935 MB / 477.8 MB, free: 78.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.2856, allocations: 9.717 MB / 487.5 MB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2868, allocations: 95.94 kB / 487.6 MB, free: 69.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.2869, allocations: 119.3 kB / 487.7 MB, free: 69.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * 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,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005284/0.2874, allocations: 326.7 kB / 488.1 MB, free: 68.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.2878, allocations: 222.2 kB / 488.3 MB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.2911, allocations: 1.914 MB / 490.2 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.2911, allocations: 20.84 kB / 490.2 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2911, allocations: 1.5 kB / 490.2 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.2911, allocations: 9.75 kB / 490.2 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.2959, allocations: 3.804 MB / 494 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.2959, allocations: 10.22 kB / 494 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.2967, allocations: 416.1 kB / 494.4 MB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/0.2988, allocations: 0.629 MB / 495.1 MB, free: 66.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.2989, allocations: 85.73 kB / 495.2 MB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.3026, allocations: 9.405 MB / 0.4927 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.3026, allocations: 18.28 kB / 0.4928 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.3057, allocations: 2.686 MB / 0.4954 GB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.306, allocations: 167.5 kB / 0.4955 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.3062, allocations: 57.22 kB / 0.4956 GB, free: 55.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.3067, allocations: 52.3 kB / 0.4956 GB, free: 55.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.3069, allocations: 194 kB / 0.4958 GB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.307, allocations: 82.92 kB / 0.4959 GB, free: 55.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004412/0.3074, allocations: 0.5926 MB / 0.4965 GB, free: 55.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3074, allocations: 0 / 0.4965 GB, free: 55.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002619/0.31, allocations: 1.156 MB / 0.4976 GB, free: 55.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * 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,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/0.3117, allocations: 1.332 MB / 0.4989 GB, free: 55.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.3143, allocations: 1.858 MB / 0.5007 GB, free: 54.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.3143, allocations: 3.938 kB / 0.5007 GB, free: 54.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.3154, allocations: 1.364 MB / 0.5021 GB, free: 53.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.3167, allocations: 387 kB / 0.5024 GB, free: 53.8 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.3211, allocations: 3.763 MB / 0.5061 GB, free: 51.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3215, allocations: 376.8 kB / 0.5065 GB, free: 51.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001274/0.3228, allocations: 425.5 kB / 0.5069 GB, free: 51.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/0.3236, allocations: 0.5836 MB / 0.5074 GB, free: 51.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3236, allocations: 2.156 kB / 0.5074 GB, free: 51.34 MB / 410.7 MB Notification: Performance of Templates: time 0.04162/0.3652, allocations: 46.61 MB / 0.553 GB, free: 9.355 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.464987862389535]