Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001856/0.001856, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002315/0.002315, allocations: 206.8 kB / 23 MB, free: 4.934 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.1353/0.1353, allocations: 23.87 MB / 337.1 MB, free: 10.96 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_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.002049/0.002049, allocations: 63.91 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2852, allocations: 59.86 MB / 0.5198 GB, free: 9.738 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.H2O_ElectrochemicalCell): time 0.07442/0.3596, allocations: 28.08 MB / 0.5472 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.3848, allocations: 17.14 MB / 0.5639 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3862, allocations: 27.81 kB / 0.5639 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.3876, allocations: 458.8 kB / 0.5644 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.3909, allocations: 1.205 MB / 0.5656 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007717/0.3986, allocations: 2.889 MB / 0.5684 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.4015, allocations: 2.094 MB / 0.5704 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.4029, allocations: 1.084 MB / 0.5715 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.404, allocations: 0.931 MB / 0.5724 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.4054, allocations: 1.066 MB / 0.5734 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.4056, allocations: 200 kB / 0.5736 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/0.4109, allocations: 2.005 MB / 0.5756 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.4114, allocations: 474.5 kB / 0.576 GB, free: 136 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009131/0.4123, allocations: 0.8248 MB / 0.5768 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007355/0.4196, allocations: 4.35 MB / 0.5811 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4196, allocations: 4 kB / 0.5811 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4196, allocations: 0 / 0.5811 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.4197, allocations: 0 / 0.5811 GB, free: 10.93 MB / 430.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.004564/0.4242, allocations: 2.327 MB / 0.5834 GB, free: 8.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4243, allocations: 12.03 kB / 0.5834 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.4261, allocations: 447 kB / 0.5838 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.428, allocations: 1.011 MB / 0.5848 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.4282, allocations: 242.4 kB / 0.585 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.4285, allocations: 168 kB / 0.5852 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/0.4321, allocations: 2.233 MB / 0.5874 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.4322, allocations: 0 / 0.5874 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.4324, allocations: 79.94 kB / 0.5874 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.4324, allocations: 43.94 kB / 0.5875 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.4365, allocations: 2.692 MB / 0.5901 GB, free: 1.523 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.01037/0.4469, allocations: 6.123 MB / 0.5961 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4486, allocations: 0.9912 MB / 0.5971 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.4495, allocations: 0.5096 MB / 0.5976 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006983/0.4565, allocations: 2.977 MB / 0.6005 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4565, allocations: 39.22 kB / 0.6005 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004045/0.4569, allocations: 107.1 kB / 0.6006 GB, free: 6.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.324e-06/0.4569, allocations: 0 / 0.6006 GB, free: 6.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01953/0.4764, allocations: 4.555 MB / 0.6051 GB, free: 1.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.4765, allocations: 119.8 kB / 0.6052 GB, free: 1.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.4782, allocations: 1.453 MB / 0.6066 GB, free: 344 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.4783, allocations: 45.7 kB / 0.6066 GB, free: 292 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007254/0.4791, allocations: 0.9241 MB / 0.6075 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.4794, allocations: 369 kB / 0.6079 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/0.48, allocations: 355.3 kB / 0.6082 GB, free: 14.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4802, allocations: 361.9 kB / 0.6086 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.4812, allocations: 0.6286 MB / 0.6092 GB, free: 13.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.4829, allocations: 1.341 MB / 0.6105 GB, free: 11.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/0.4856, allocations: 1.936 MB / 0.6124 GB, free: 9.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.4856, allocations: 4 kB / 0.6124 GB, free: 9.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005791/0.4914, allocations: 2.378 MB / 0.6147 GB, free: 7.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4914, allocations: 16 kB / 0.6147 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.4915, allocations: 24.47 kB / 0.6147 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/0.4943, allocations: 382.8 kB / 0.6151 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/0.4971, allocations: 0.5617 MB / 0.6157 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009371/0.5064, allocations: 7.382 MB / 0.6229 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.5077, allocations: 88.03 kB / 0.623 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.5079, allocations: 107.9 kB / 0.6231 GB, free: 14.27 MB / 478.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.0006473/0.5085, allocations: 369.1 kB / 0.6234 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.5088, allocations: 119.2 kB / 0.6235 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.514, allocations: 1.522 MB / 0.625 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.514, allocations: 7.969 kB / 0.625 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.514, allocations: 0 / 0.625 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.5142, allocations: 107.3 kB / 0.6251 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.5144, allocations: 23.98 kB / 0.6251 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.5151, allocations: 31.92 kB / 0.6252 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.5153, allocations: 84.84 kB / 0.6253 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004936/0.5202, allocations: 1.497 MB / 0.6267 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002729/0.523, allocations: 1.795 MB / 0.6285 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006745/0.5236, allocations: 383.8 kB / 0.6288 GB, free: 8.277 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.5249, allocations: 0.9751 MB / 0.6298 GB, free: 7.293 MB / 478.1 MB Notification: Performance of Backend: time 8.01e-07/0.5249, allocations: 0 / 0.6298 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005944/0.5308, allocations: 2.503 MB / 0.6322 GB, free: 4.754 MB / 478.1 MB Notification: Performance of SimCode: time 0.004541/0.5354, allocations: 3.151 MB / 0.6353 GB, free: 1.551 MB / 478.1 MB Notification: Performance of Templates: time 0.05583/0.5912, allocations: 36.91 MB / 0.6714 GB, free: 12.74 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.878895904999808] Failed to read output from testmodel.py, exit status != 0: 0.5997265909973066 0.613753825 0.191027151 Calling exit ...