Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001302/0.001302, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001448/0.001448, allocations: 213 kB / 23 MB, free: 4.969 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1344/0.1344, allocations: 23.88 MB / 337.1 MB, free: 11.07 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002062/0.002062, allocations: 59.91 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 59.86 MB / 0.5198 GB, free: 9.785 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.07431/0.4008, allocations: 29.77 MB / 0.5488 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03526/0.4361, allocations: 25.31 MB / 0.5735 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.438, allocations: 35.69 kB / 0.5736 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.4398, allocations: 0.597 MB / 0.5742 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.4466, allocations: 2.169 MB / 0.5763 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.4578, allocations: 3.922 MB / 0.5801 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.4621, allocations: 2.852 MB / 0.5829 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.4639, allocations: 1.377 MB / 0.5842 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.4655, allocations: 1.344 MB / 0.5855 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.4674, allocations: 1.51 MB / 0.587 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.4678, allocations: 260 kB / 0.5873 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007702/0.4755, allocations: 3.027 MB / 0.5902 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007315/0.4762, allocations: 0.6114 MB / 0.5908 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4777, allocations: 1.093 MB / 0.5919 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.4902, allocations: 6.179 MB / 0.5979 GB, free: 9.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4902, allocations: 0 / 0.5979 GB, free: 9.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4902, allocations: 0 / 0.5979 GB, free: 9.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.76e-05/0.4902, allocations: 4 kB / 0.5979 GB, free: 9.656 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.006067/0.4963, allocations: 3.088 MB / 0.6009 GB, free: 6.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4963, allocations: 12.02 kB / 0.601 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.4988, allocations: 0.557 MB / 0.6015 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.5014, allocations: 1.243 MB / 0.6027 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.5016, allocations: 279.4 kB / 0.603 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.502, allocations: 220 kB / 0.6032 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.5068, allocations: 2.686 MB / 0.6058 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.5068, allocations: 0 / 0.6058 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.507, allocations: 88 kB / 0.6059 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.5071, allocations: 52 kB / 0.6059 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005709/0.5128, allocations: 3.298 MB / 0.6092 GB, free: 13.93 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.01417/0.527, allocations: 6.999 MB / 0.616 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.5299, allocations: 1.531 MB / 0.6175 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.5314, allocations: 0.8547 MB / 0.6183 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.5423, allocations: 4.273 MB / 0.6225 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.5423, allocations: 47.81 kB / 0.6226 GB, free: 36 kB / 462.1 MB Notification: Performance of pre-optimization done (n=128): time 3.577e-06/0.5423, allocations: 0 / 0.6226 GB, free: 36 kB / 462.1 MB Notification: Performance of matching and sorting (n=181): time 0.0352/0.5775, allocations: 8.099 MB / 0.6305 GB, free: 7.883 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.5776, allocations: 95.11 kB / 0.6306 GB, free: 7.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.5793, allocations: 1.321 MB / 0.6318 GB, free: 6.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.5794, allocations: 61.64 kB / 0.6319 GB, free: 6.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008395/0.5803, allocations: 1.089 MB / 0.633 GB, free: 5.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006231/0.5809, allocations: 0.6546 MB / 0.6336 GB, free: 4.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/0.5817, allocations: 485 kB / 0.6341 GB, free: 4.129 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5818, allocations: 301.1 kB / 0.6344 GB, free: 3.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.5833, allocations: 0.821 MB / 0.6352 GB, free: 3.008 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.5856, allocations: 1.658 MB / 0.6368 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.5896, allocations: 2.61 MB / 0.6393 GB, free: 13.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.5896, allocations: 8 kB / 0.6393 GB, free: 13.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007521/0.5971, allocations: 3.05 MB / 0.6423 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5972, allocations: 16 kB / 0.6423 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/0.5972, allocations: 31.94 kB / 0.6424 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/0.6008, allocations: 0.5146 MB / 0.6429 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/0.605, allocations: 0.8036 MB / 0.6436 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009749/0.6148, allocations: 7.508 MB / 0.651 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.6167, allocations: 100.1 kB / 0.6511 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.617, allocations: 144 kB / 0.6512 GB, free: 1.312 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.0009278/0.6179, allocations: 452.9 kB / 0.6516 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.6183, allocations: 170.8 kB / 0.6518 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007411/0.6257, allocations: 2.562 MB / 0.6543 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.6257, allocations: 7.969 kB / 0.6543 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.6257, allocations: 3.938 kB / 0.6543 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.6262, allocations: 142.8 kB / 0.6545 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.6265, allocations: 40 kB / 0.6545 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6276, allocations: 35.98 kB / 0.6545 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.628, allocations: 153.7 kB / 0.6547 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007235/0.6352, allocations: 2.381 MB / 0.657 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00505/0.6402, allocations: 2.927 MB / 0.6599 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0013/0.6415, allocations: 0.7144 MB / 0.6606 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001174/0.6427, allocations: 0.8274 MB / 0.6614 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of Backend: time 3.6e-07/0.6427, allocations: 0 / 0.6614 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008348/0.6511, allocations: 3.425 MB / 0.6647 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of SimCode: time 0.006118/0.6572, allocations: 4.008 MB / 0.6686 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.08309/0.7403, allocations: 53.6 MB / 0.721 GB, free: 9.832 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.890510862009251] Failed to read output from testmodel.py, exit status != 0: 0.7493067019968294 0.936759809 0.444036574 Calling exit ...