Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.00136/0.00136, allocations: 78.88 kB / 19.76 MB, free: 1.875 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.001463/0.001463, allocations: 159 kB / 23.01 MB, free: 4.59 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.368/1.368, allocations: 177.2 MB / 203.4 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 179] 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.1227/0.1227, allocations: 17.36 MB / 277.1 MB, free: 15.33 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [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.002393/0.002393, allocations: 71.89 kB / 412.4 MB, free: 5.758 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1166, allocations: 59.84 MB / 472.3 MB, free: 9.797 MB / 446.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.StandardElectrochemicalCell): time 0.4656/0.5822, allocations: 27.69 MB / 500 MB, free: 38.77 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.5994, allocations: 19.01 MB / 0.5068 GB, free: 28.45 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.6005, allocations: 27.94 kB / 0.5069 GB, free: 28.43 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.6017, allocations: 498 kB / 0.5073 GB, free: 28.17 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.6045, allocations: 0.9611 MB / 0.5083 GB, free: 27.59 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.008664/0.6132, allocations: 3.346 MB / 0.5115 GB, free: 25.62 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.002269/0.6154, allocations: 1.797 MB / 0.5133 GB, free: 24.75 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.6163, allocations: 0.7499 MB / 0.514 GB, free: 24.4 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.6171, allocations: 0.8008 MB / 0.5148 GB, free: 24.1 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000997/0.6181, allocations: 0.8138 MB / 0.5156 GB, free: 23.8 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.6184, allocations: 147.2 kB / 0.5157 GB, free: 23.8 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.6239, allocations: 1.961 MB / 0.5177 GB, free: 23.38 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.6243, allocations: 383.6 kB / 0.518 GB, free: 23.14 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.6251, allocations: 0.6728 MB / 0.5187 GB, free: 22.8 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.008191/0.6333, allocations: 4.051 MB / 0.5226 GB, free: 21.07 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.6333, allocations: 4.672 kB / 0.5226 GB, free: 21.07 MB / 446.2 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6333, allocations: 0 / 0.5226 GB, free: 21.07 MB / 446.2 MB Notification: Performance of Transformations before backend: time 6.835e-05/0.6334, allocations: 0 / 0.5226 GB, free: 21.07 MB / 446.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.004118/0.6375, allocations: 2.061 MB / 0.5246 GB, free: 19.8 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6375, allocations: 9.406 kB / 0.5247 GB, free: 19.8 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.6392, allocations: 451.5 kB / 0.5251 GB, free: 19.66 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.6408, allocations: 0.9938 MB / 0.5261 GB, free: 19.12 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.641, allocations: 205.3 kB / 0.5263 GB, free: 18.95 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6412, allocations: 130.4 kB / 0.5264 GB, free: 18.9 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.6435, allocations: 1.76 MB / 0.5281 GB, free: 18.15 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.6435, allocations: 1.531 kB / 0.5281 GB, free: 18.15 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.6436, allocations: 59.14 kB / 0.5282 GB, free: 18.11 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.6436, allocations: 32.06 kB / 0.5282 GB, free: 18.11 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.6463, allocations: 2.306 MB / 0.5304 GB, free: 17.44 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.652, allocations: 4.829 MB / 0.5352 GB, free: 14.56 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.6531, allocations: 0.6882 MB / 0.5358 GB, free: 14.27 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.6536, allocations: 335.3 kB / 0.5361 GB, free: 14.14 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005765/0.6593, allocations: 2.864 MB / 0.5389 GB, free: 12.21 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.6594, allocations: 38.56 kB / 0.539 GB, free: 12.16 MB / 446.2 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.6594, allocations: 0 / 0.539 GB, free: 12.16 MB / 446.2 MB Notification: Performance of matching and sorting (n=37): time 0.001232/0.6606, allocations: 0.6423 MB / 0.5396 GB, free: 11.57 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.6606, allocations: 110.8 kB / 0.5397 GB, free: 11.43 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.6616, allocations: 1.241 MB / 0.5409 GB, free: 10.34 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6617, allocations: 33.7 kB / 0.541 GB, free: 10.3 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.662, allocations: 0.8677 MB / 0.5418 GB, free: 9.508 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.6621, allocations: 155.9 kB / 0.542 GB, free: 9.371 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.6624, allocations: 296.8 kB / 0.5422 GB, free: 9.102 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.6624, allocations: 359 kB / 0.5426 GB, free: 8.762 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.6628, allocations: 340.8 kB / 0.5429 GB, free: 8.473 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.6635, allocations: 1.159 MB / 0.544 GB, free: 6.965 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.6646, allocations: 1.529 MB / 0.5455 GB, free: 5.078 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.6646, allocations: 8 kB / 0.5455 GB, free: 5.07 MB / 446.2 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001855/0.6665, allocations: 1.557 MB / 0.5471 GB, free: 3.641 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6665, allocations: 17 kB / 0.5471 GB, free: 3.625 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.6665, allocations: 31.94 kB / 0.5471 GB, free: 3.594 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/0.6671, allocations: 171.4 kB / 0.5473 GB, free: 3.445 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6681, allocations: 391.8 kB / 0.5476 GB, free: 3.109 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.6703, allocations: 3.826 MB / 0.5514 GB, free: 15.11 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.6712, allocations: 178.7 kB / 0.5515 GB, free: 14.93 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.6714, allocations: 107.6 kB / 0.5516 GB, free: 14.83 MB / 462.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0005066/0.6719, allocations: 328 kB / 0.552 GB, free: 14.51 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.6721, allocations: 111.8 kB / 0.5521 GB, free: 14.4 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.6739, allocations: 0.9409 MB / 0.553 GB, free: 13.54 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6739, allocations: 4.797 kB / 0.553 GB, free: 13.54 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6739, allocations: 0 / 0.553 GB, free: 13.54 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6739, allocations: 1.312 kB / 0.553 GB, free: 13.54 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.676, allocations: 1.159 MB / 0.5541 GB, free: 12.48 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.676, allocations: 7.938 kB / 0.5541 GB, free: 12.47 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.6762, allocations: 55.55 kB / 0.5542 GB, free: 12.43 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/0.677, allocations: 177.8 kB / 0.5544 GB, free: 12.27 MB / 462.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.677, allocations: 17.08 kB / 0.5544 GB, free: 12.26 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/0.6803, allocations: 3.693 MB / 0.558 GB, free: 8.383 MB / 462.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6803, allocations: 7.938 kB / 0.558 GB, free: 8.375 MB / 462.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.6817, allocations: 0.8926 MB / 0.5589 GB, free: 7.48 MB / 462.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.6819, allocations: 98.59 kB / 0.559 GB, free: 7.387 MB / 462.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.682, allocations: 20.92 kB / 0.559 GB, free: 7.367 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.6824, allocations: 8.656 kB / 0.559 GB, free: 7.359 MB / 462.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.6825, allocations: 33.83 kB / 0.559 GB, free: 7.34 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.6825, allocations: 21.17 kB / 0.559 GB, free: 7.32 MB / 462.2 MB Notification: Performance of sorting global known variables: time 0.001147/0.6837, allocations: 0.8837 MB / 0.5599 GB, free: 6.547 MB / 462.2 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6837, allocations: 0 / 0.5599 GB, free: 6.547 MB / 462.2 MB Notification: Performance of remove unused functions: time 0.002383/0.6861, allocations: 0.7159 MB / 0.5606 GB, free: 5.844 MB / 462.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.00162/0.6877, allocations: 0.8641 MB / 0.5614 GB, free: 5.059 MB / 462.2 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.6894, allocations: 0.8247 MB / 0.5622 GB, free: 4.328 MB / 462.2 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6894, allocations: 0 / 0.5622 GB, free: 4.328 MB / 462.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.69, allocations: 391 kB / 0.5626 GB, free: 3.953 MB / 462.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.691, allocations: 163.2 kB / 0.5628 GB, free: 3.816 MB / 462.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.6942, allocations: 1.978 MB / 0.5647 GB, free: 1.887 MB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.6948, allocations: 0.5064 MB / 0.5652 GB, free: 1.5 MB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.0008544/0.6956, allocations: 306.8 kB / 0.5655 GB, free: 1.262 MB / 462.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.6959, allocations: 149.9 kB / 0.5656 GB, free: 1.137 MB / 462.2 MB Notification: Performance of SimCode: time 6.61e-07/0.6959, allocations: 0 / 0.5656 GB, free: 1.137 MB / 462.2 MB Notification: Performance of Templates: time 0.03483/0.7307, allocations: 20.61 MB / 0.5858 GB, free: 14.22 MB / 494.2 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.468885453999974] Failed to read output from testmodel.py, exit status != 0: 0.7407397519564256 0.753328801 0.11702704400000001 Calling exit ...