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.00154/0.00154, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00174/0.00174, allocations: 206.4 kB / 22.98 MB, free: 4.984 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1312/0.1312, allocations: 23.93 MB / 337.1 MB, free: 10.92 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.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: 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.002004/0.002004, allocations: 63.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 59.88 MB / 0.5198 GB, free: 9.785 MB / 382.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.ElectrochemicalCell): time 0.07486/0.3589, allocations: 29.77 MB / 0.5489 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03553/0.3945, allocations: 25.3 MB / 0.5736 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3966, allocations: 35.69 kB / 0.5736 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.3988, allocations: 0.6008 MB / 0.5742 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007495/0.4063, allocations: 2.157 MB / 0.5763 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.4176, allocations: 3.93 MB / 0.5802 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.4222, allocations: 2.852 MB / 0.583 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.4242, allocations: 1.373 MB / 0.5843 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.4261, allocations: 1.348 MB / 0.5856 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.4283, allocations: 1.499 MB / 0.5871 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.4289, allocations: 264 kB / 0.5873 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008657/0.4375, allocations: 3.027 MB / 0.5903 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009866/0.4385, allocations: 0.6036 MB / 0.5909 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.4401, allocations: 1.097 MB / 0.5919 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.4532, allocations: 6.183 MB / 0.598 GB, free: 9.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4532, allocations: 4 kB / 0.598 GB, free: 9.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4532, allocations: 4 kB / 0.598 GB, free: 9.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.4533, allocations: 0 / 0.598 GB, free: 9.566 MB / 446.1 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.006559/0.4598, allocations: 3.084 MB / 0.601 GB, free: 6.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4599, allocations: 8.031 kB / 0.601 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.4623, allocations: 0.5648 MB / 0.6016 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.465, allocations: 1.243 MB / 0.6028 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.4652, allocations: 283.4 kB / 0.603 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/0.4657, allocations: 220 kB / 0.6032 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004744/0.4704, allocations: 2.683 MB / 0.6059 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.4705, allocations: 3.984 kB / 0.6059 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.4707, allocations: 92 kB / 0.606 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.4707, allocations: 52 kB / 0.606 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005432/0.4762, allocations: 3.291 MB / 0.6092 GB, free: 13.84 MB / 462.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.01411/0.4903, allocations: 6.999 MB / 0.6161 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.493, allocations: 1.523 MB / 0.6175 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4946, allocations: 0.8585 MB / 0.6184 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.5052, allocations: 4.277 MB / 0.6226 GB, free: 0 / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.555e-05/0.5052, allocations: 47.88 kB / 0.6226 GB, free: 15.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 3.006e-06/0.5052, allocations: 0 / 0.6226 GB, free: 15.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03377/0.539, allocations: 8.103 MB / 0.6305 GB, free: 7.789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.5391, allocations: 103.1 kB / 0.6306 GB, free: 7.668 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.5409, allocations: 1.317 MB / 0.6319 GB, free: 6.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.5411, allocations: 57.7 kB / 0.632 GB, free: 6.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/0.5419, allocations: 1.081 MB / 0.633 GB, free: 5.184 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/0.5425, allocations: 0.6585 MB / 0.6337 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007461/0.5432, allocations: 485 kB / 0.6341 GB, free: 4.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5434, allocations: 305.1 kB / 0.6344 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.5448, allocations: 0.8132 MB / 0.6352 GB, free: 2.922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.547, allocations: 1.665 MB / 0.6368 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/0.5509, allocations: 2.618 MB / 0.6394 GB, free: 13.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.5509, allocations: 8 kB / 0.6394 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007364/0.5583, allocations: 3.035 MB / 0.6424 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.5583, allocations: 19.94 kB / 0.6424 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.392e-05/0.5584, allocations: 28 kB / 0.6424 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/0.5619, allocations: 0.5185 MB / 0.6429 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/0.5659, allocations: 0.8036 MB / 0.6437 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009667/0.5756, allocations: 7.516 MB / 0.651 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.5775, allocations: 96.11 kB / 0.6511 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/0.5778, allocations: 140 kB / 0.6513 GB, free: 1.223 MB / 494.1 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.000905/0.5787, allocations: 456.8 kB / 0.6517 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.5791, allocations: 170.9 kB / 0.6519 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007104/0.5862, allocations: 2.554 MB / 0.6544 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.5863, allocations: 28.02 kB / 0.6544 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.5863, allocations: 0 / 0.6544 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/0.5863, allocations: 19.94 kB / 0.6544 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.5968, allocations: 4.244 MB / 0.6585 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.5968, allocations: 8 kB / 0.6586 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.5987, allocations: 428.2 kB / 0.659 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/0.6023, allocations: 0.5469 MB / 0.6595 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/0.6026, allocations: 83.89 kB / 0.6596 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008872/0.6114, allocations: 7.3 MB / 0.6667 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/0.6115, allocations: 15.94 kB / 0.6667 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007512/0.619, allocations: 3.45 MB / 0.6701 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.6195, allocations: 170.8 kB / 0.6703 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.6197, allocations: 51.98 kB / 0.6703 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.6208, allocations: 52 kB / 0.6703 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.6211, allocations: 204.6 kB / 0.6705 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.6213, allocations: 91.97 kB / 0.6706 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001109/0.6224, allocations: 0.8274 MB / 0.6714 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6224, allocations: 0 / 0.6714 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003843/0.6262, allocations: 1.212 MB / 0.6726 GB, free: 10.41 MB / 0.5137 GB 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.002669/0.6289, allocations: 1.338 MB / 0.6739 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00518/0.6341, allocations: 2.374 MB / 0.6762 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.6341, allocations: 3.938 kB / 0.6763 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.6363, allocations: 1.36 MB / 0.6776 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.6383, allocations: 336.1 kB / 0.6779 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.6451, allocations: 4.069 MB / 0.6819 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.6462, allocations: 0.8577 MB / 0.6827 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001693/0.6479, allocations: 453.7 kB / 0.6831 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.6486, allocations: 291.2 kB / 0.6834 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.6486, allocations: 0 / 0.6834 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.06823/0.7168, allocations: 44.81 MB / 0.7272 GB, free: 2.484 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7487451909983065] Failed to read output from testmodel.py, exit status != 0: 0.7263694400025997 0.9027283819999999 0.44673845100000004 Calling exit ...