Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001608/0.001608, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001541/0.001541, allocations: 221 kB / 23 MB, free: 4.918 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.1642/0.1642, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [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.003378/0.003378, allocations: 71.89 kB / 472.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3265, allocations: 59.86 MB / 0.5198 GB, free: 9.789 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.CheckSubstancesData.StandardElectrochemicalCell2): time 0.07192/0.3984, allocations: 27.19 MB / 0.5463 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.4209, allocations: 16.04 MB / 0.562 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.4222, allocations: 23.81 kB / 0.562 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.4236, allocations: 435.8 kB / 0.5624 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.4264, allocations: 0.8019 MB / 0.5632 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008043/0.4344, allocations: 2.854 MB / 0.566 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.437, allocations: 1.64 MB / 0.5676 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009943/0.438, allocations: 0.7234 MB / 0.5683 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.4388, allocations: 0.7206 MB / 0.569 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.4399, allocations: 0.739 MB / 0.5697 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.4401, allocations: 144 kB / 0.5699 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.4448, allocations: 1.669 MB / 0.5715 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.4451, allocations: 358.9 kB / 0.5718 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.4458, allocations: 0.6223 MB / 0.5724 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006512/0.4523, allocations: 3.572 MB / 0.5759 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.4523, allocations: 0 / 0.5759 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4523, allocations: 4 kB / 0.5759 GB, free: 300 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4523, allocations: 0 / 0.5759 GB, free: 300 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003181/0.4555, allocations: 1.893 MB / 0.5778 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4555, allocations: 8.031 kB / 0.5778 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.457, allocations: 391.3 kB / 0.5782 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.4588, allocations: 0.9159 MB / 0.5791 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.459, allocations: 213.4 kB / 0.5793 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.4592, allocations: 120 kB / 0.5794 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.4619, allocations: 1.657 MB / 0.581 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.4619, allocations: 3.938 kB / 0.581 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.462, allocations: 52 kB / 0.581 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.4621, allocations: 31.94 kB / 0.5811 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.4653, allocations: 2.104 MB / 0.5831 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/0.4728, allocations: 4.702 MB / 0.5877 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.4741, allocations: 0.692 MB / 0.5884 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.4747, allocations: 332.4 kB / 0.5887 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006225/0.4809, allocations: 2.639 MB / 0.5913 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.4809, allocations: 42.5 kB / 0.5913 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002671/0.4812, allocations: 67.34 kB / 0.5914 GB, free: 100 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.644e-06/0.4812, allocations: 0 / 0.5914 GB, free: 100 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001412/0.4826, allocations: 0.6006 MB / 0.592 GB, free: 15.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.4827, allocations: 110.8 kB / 0.5921 GB, free: 15.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4841, allocations: 1.162 MB / 0.5932 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.4842, allocations: 33.95 kB / 0.5933 GB, free: 14.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/0.4848, allocations: 0.8138 MB / 0.594 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4849, allocations: 142.9 kB / 0.5942 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.4853, allocations: 274.7 kB / 0.5944 GB, free: 12.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.4855, allocations: 406.7 kB / 0.5948 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.4861, allocations: 326.5 kB / 0.5951 GB, free: 12.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4873, allocations: 1.05 MB / 0.5962 GB, free: 10.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.4891, allocations: 1.403 MB / 0.5975 GB, free: 8.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.4891, allocations: 8 kB / 0.5975 GB, free: 8.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002425/0.4915, allocations: 1.448 MB / 0.599 GB, free: 7.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.4915, allocations: 16 kB / 0.599 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.4916, allocations: 24 kB / 0.599 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.4922, allocations: 154.1 kB / 0.5991 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4933, allocations: 387.3 kB / 0.5995 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.4967, allocations: 3.813 MB / 0.6032 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/0.4975, allocations: 75.95 kB / 0.6033 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.4977, allocations: 87.98 kB / 0.6034 GB, free: 2.707 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005167/0.4982, allocations: 321.1 kB / 0.6037 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4984, allocations: 99.34 kB / 0.6038 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.5001, allocations: 0.8474 MB / 0.6046 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5001, allocations: 4 kB / 0.6046 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.5001, allocations: 0 / 0.6046 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5001, allocations: 0 / 0.6046 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.5021, allocations: 1.065 MB / 0.6057 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.5021, allocations: 4 kB / 0.6057 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.5024, allocations: 55.91 kB / 0.6057 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.5031, allocations: 183.2 kB / 0.6059 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.5032, allocations: 12 kB / 0.6059 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.5064, allocations: 3.703 MB / 0.6095 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5064, allocations: 0 / 0.6095 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.5077, allocations: 0.8584 MB / 0.6104 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.508, allocations: 87.34 kB / 0.6104 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5081, allocations: 11.94 kB / 0.6105 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.5084, allocations: 8 kB / 0.6105 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.5085, allocations: 39.88 kB / 0.6105 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.5086, allocations: 16 kB / 0.6105 GB, free: 10.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.5096, allocations: 0.8152 MB / 0.6113 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5096, allocations: 0 / 0.6113 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001982/0.5116, allocations: 0.6383 MB / 0.6119 GB, free: 9.496 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00132/0.5129, allocations: 0.7425 MB / 0.6127 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.5146, allocations: 0.7742 MB / 0.6134 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5146, allocations: 0 / 0.6134 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.5151, allocations: 382.4 kB / 0.6138 GB, free: 7.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.5161, allocations: 147.3 kB / 0.6139 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.5191, allocations: 1.884 MB / 0.6158 GB, free: 5.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.5197, allocations: 480.5 kB / 0.6162 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.52, allocations: 179.3 kB / 0.6164 GB, free: 4.812 MB / 462.1 MB Notification: Performance of SimCode: time 6.32e-07/0.52, allocations: 0 / 0.6164 GB, free: 4.812 MB / 462.1 MB Notification: Performance of Templates: time 0.04558/0.5656, allocations: 37.4 MB / 0.6529 GB, free: 15.47 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.95852324878797] Failed to read output from testmodel.py, exit status != 0: 0.577336504124105 0.589551781 0.134122803 Calling exit ...