Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.H2O_ElectrochemicalCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09026/0.09026, allocations: 15.53 MB / 320 MB, free: 13.16 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 65.94 kB / 448.2 MB, free: 47.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1259, allocations: 56.55 MB / 0.4929 GB, free: 19.37 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.H2O_ElectrochemicalCell): time 0.03515/0.1611, allocations: 28.76 MB / 0.521 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02578/0.1869, allocations: 19.49 MB / 0.5401 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.1889, allocations: 23.88 kB / 0.5401 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.1908, allocations: 0.4962 MB / 0.5406 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.1956, allocations: 1.241 MB / 0.5418 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008939/0.2046, allocations: 2.85 MB / 0.5446 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.2085, allocations: 2.09 MB / 0.5466 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.2101, allocations: 1.072 MB / 0.5477 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.2113, allocations: 0.9153 MB / 0.5486 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.2127, allocations: 1.066 MB / 0.5496 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.213, allocations: 200 kB / 0.5498 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00608/0.219, allocations: 2.087 MB / 0.5518 GB, free: 9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006484/0.2197, allocations: 474.5 kB / 0.5523 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.221, allocations: 0.98 MB / 0.5532 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009958/0.2309, allocations: 4.218 MB / 0.5574 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2309, allocations: 0 / 0.5574 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2309, allocations: 0 / 0.5574 GB, free: 3.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.231, allocations: 4 kB / 0.5574 GB, free: 3.312 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004527/0.2355, allocations: 2.407 MB / 0.5597 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2355, allocations: 8.031 kB / 0.5597 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.2372, allocations: 447 kB / 0.5601 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.239, allocations: 1.084 MB / 0.5612 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.2392, allocations: 187 kB / 0.5614 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.2395, allocations: 168 kB / 0.5615 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.2431, allocations: 2.214 MB / 0.5637 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.2431, allocations: 4 kB / 0.5637 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.2433, allocations: 72 kB / 0.5638 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.2433, allocations: 40 kB / 0.5638 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/0.2483, allocations: 2.68 MB / 0.5664 GB, free: 9.828 MB / 430.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.01647/0.2648, allocations: 7.256 MB / 0.5735 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.2675, allocations: 1.131 MB / 0.5746 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.2688, allocations: 0.5174 MB / 0.5751 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01384/0.2826, allocations: 5.133 MB / 0.5801 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/0.2827, allocations: 43.12 kB / 0.5802 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001042/0.2837, allocations: 119 kB / 0.5803 GB, free: 10.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 9.248e-06/0.2837, allocations: 3.938 kB / 0.5803 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.03422/0.3179, allocations: 4.872 MB / 0.5851 GB, free: 5.762 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.3181, allocations: 111.8 kB / 0.5852 GB, free: 5.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/0.3216, allocations: 1.47 MB / 0.5866 GB, free: 4.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.3218, allocations: 45.77 kB / 0.5866 GB, free: 4.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3229, allocations: 0.9278 MB / 0.5875 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/0.3236, allocations: 365 kB / 0.5879 GB, free: 2.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009972/0.3246, allocations: 351.3 kB / 0.5882 GB, free: 2.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3248, allocations: 309.1 kB / 0.5885 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.3267, allocations: 0.6169 MB / 0.5891 GB, free: 1.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/0.3297, allocations: 1.325 MB / 0.5904 GB, free: 15.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004803/0.3345, allocations: 1.929 MB / 0.5923 GB, free: 13.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/0.3346, allocations: 7.938 kB / 0.5923 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.01018/0.3447, allocations: 2.363 MB / 0.5946 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.3448, allocations: 16 kB / 0.5946 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.773e-05/0.3448, allocations: 27.94 kB / 0.5947 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.3482, allocations: 379 kB / 0.595 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.3516, allocations: 0.5578 MB / 0.5956 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009662/0.3613, allocations: 7.92 MB / 0.6033 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.363, allocations: 88.09 kB / 0.6034 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.3633, allocations: 99.98 kB / 0.6035 GB, free: 1.508 MB / 462.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.0008338/0.3641, allocations: 384.2 kB / 0.6038 GB, free: 1.125 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/0.3647, allocations: 127.2 kB / 0.604 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2743/0.639, allocations: 1.526 MB / 0.6055 GB, free: 96.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.639, allocations: 14.52 kB / 0.6055 GB, free: 96.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.639, allocations: 5.219 kB / 0.6055 GB, free: 96.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.6391, allocations: 3.797 kB / 0.6055 GB, free: 96.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007588/0.6466, allocations: 2.999 MB / 0.6084 GB, free: 96.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.6467, allocations: 7.344 kB / 0.6084 GB, free: 96.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.6476, allocations: 219.7 kB / 0.6086 GB, free: 96.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.6503, allocations: 404 kB / 0.609 GB, free: 96.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.6505, allocations: 42.59 kB / 0.6091 GB, free: 96.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/0.6573, allocations: 7.709 MB / 0.6166 GB, free: 89.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.6574, allocations: 8.375 kB / 0.6166 GB, free: 89.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.6629, allocations: 2.167 MB / 0.6187 GB, free: 88.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.6634, allocations: 202.4 kB / 0.6189 GB, free: 88.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.6635, allocations: 35.77 kB / 0.6189 GB, free: 88.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/0.6642, allocations: 28.97 kB / 0.619 GB, free: 88.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.6645, allocations: 108.2 kB / 0.6191 GB, free: 88.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.6646, allocations: 49.83 kB / 0.6191 GB, free: 88.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.6663, allocations: 1.019 MB / 0.6201 GB, free: 87.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6663, allocations: 0 / 0.6201 GB, free: 87.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003599/0.6699, allocations: 0.8279 MB / 0.6209 GB, free: 87.62 MB / 462.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.001873/0.6718, allocations: 0.8896 MB / 0.6218 GB, free: 87.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003456/0.6752, allocations: 1.692 MB / 0.6234 GB, free: 86.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.6752, allocations: 1.375 kB / 0.6234 GB, free: 86.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.6766, allocations: 0.9628 MB / 0.6244 GB, free: 86.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.6786, allocations: 221.4 kB / 0.6246 GB, free: 86.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.6829, allocations: 2.891 MB / 0.6274 GB, free: 84.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.6836, allocations: 1.229 MB / 0.6286 GB, free: 83.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009515/0.6845, allocations: 321.1 kB / 0.6289 GB, free: 83.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.6849, allocations: 182.9 kB / 0.6291 GB, free: 83.76 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6849, allocations: 0 / 0.6291 GB, free: 83.76 MB / 462.1 MB Notification: Performance of Templates: time 0.03776/0.7226, allocations: 28.82 MB / 0.6572 GB, free: 60.02 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.666718567721546]