Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001217/0.001217, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001329/0.001329, allocations: 177.9 kB / 23.22 MB, free: 1.34 MB / 18.57 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 0.8962/0.8962, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08528/0.08528, allocations: 17.45 MB / 277.4 MB, free: 11.76 MB / 266.7 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.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.116e-05, allocations: 6.219 kB / 412.9 MB, free: 15.74 MB / 394.7 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.01973/0.01975, allocations: 27.94 MB / 440.8 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1477/0.1674, allocations: 19.01 MB / 459.8 MB, free: 54.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.1678, allocations: 28.72 kB / 459.9 MB, free: 54.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.1685, allocations: 0.4955 MB / 460.3 MB, free: 53.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.1696, allocations: 0.9976 MB / 461.3 MB, free: 53.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.1729, allocations: 3.443 MB / 464.8 MB, free: 51.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.1737, allocations: 1.867 MB / 466.7 MB, free: 50.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.1742, allocations: 0.7523 MB / 467.4 MB, free: 49.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.1747, allocations: 1.13 MB / 468.5 MB, free: 49.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1752, allocations: 0.7068 MB / 469.2 MB, free: 49.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.1753, allocations: 148 kB / 469.4 MB, free: 49.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.1772, allocations: 1.981 MB / 471.4 MB, free: 48.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1773, allocations: 393.1 kB / 471.8 MB, free: 48.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1776, allocations: 0.5669 MB / 472.3 MB, free: 48.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.1799, allocations: 4.269 MB / 476.6 MB, free: 46.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1799, allocations: 3 kB / 476.6 MB, free: 46.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1799, allocations: 0 / 476.6 MB, free: 46.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.18, allocations: 0 / 476.6 MB, free: 46.63 MB / 410.7 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.001513/0.1815, allocations: 2.059 MB / 478.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1815, allocations: 12.94 kB / 478.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008228/0.1823, allocations: 438.6 kB / 479.1 MB, free: 45.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.1832, allocations: 0.9853 MB / 480.1 MB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.1833, allocations: 213.4 kB / 480.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.1834, allocations: 124.7 kB / 480.4 MB, free: 44.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1847, allocations: 1.761 MB / 482.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1848, allocations: 7.062 kB / 482.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.1848, allocations: 52.34 kB / 482.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1848, allocations: 30.5 kB / 482.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.1867, allocations: 2.312 MB / 484.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.1906, allocations: 4.808 MB / 489.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.1914, allocations: 0.6911 MB / 490.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.1918, allocations: 335.9 kB / 490.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/0.1951, allocations: 2.862 MB / 493.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.1951, allocations: 36.59 kB / 493.3 MB, free: 38.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.1951, allocations: 1.219 kB / 493.3 MB, free: 38.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008868/0.196, allocations: 0.6347 MB / 493.9 MB, free: 38.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.196, allocations: 109.8 kB / 494 MB, free: 38.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.1968, allocations: 1.242 MB / 495.3 MB, free: 37.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1968, allocations: 32.3 kB / 495.3 MB, free: 37.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.1971, allocations: 0.8577 MB / 496.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.1972, allocations: 160.5 kB / 496.3 MB, free: 36.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1974, allocations: 285.6 kB / 496.6 MB, free: 36.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.1974, allocations: 357.9 kB / 497 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.1978, allocations: 345.8 kB / 497.3 MB, free: 36.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.1984, allocations: 1.164 MB / 498.5 MB, free: 35.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.1993, allocations: 1.527 MB / 500 MB, free: 33.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.1994, allocations: 8.188 kB / 500 MB, free: 33.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001539/0.2009, allocations: 1.556 MB / 0.4898 GB, free: 32.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.2009, allocations: 16.81 kB / 0.4898 GB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.2009, allocations: 30.52 kB / 0.4898 GB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.2013, allocations: 153.8 kB / 0.49 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.202, allocations: 397.7 kB / 0.4904 GB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.2032, allocations: 3.835 MB / 0.4941 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.2037, allocations: 182.1 kB / 0.4943 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.2038, allocations: 100.9 kB / 0.4944 GB, free: 29.03 MB / 410.7 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.0002785/0.204, allocations: 331 kB / 0.4947 GB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2041, allocations: 110.1 kB / 0.4948 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2052, allocations: 0.9408 MB / 0.4957 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2052, allocations: 4.125 kB / 0.4957 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2052, allocations: 3.938 kB / 0.4957 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2052, allocations: 2.391 kB / 0.4957 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2064, allocations: 1.157 MB / 0.4969 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2064, allocations: 3.438 kB / 0.4969 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.2066, allocations: 64.73 kB / 0.4969 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.207, allocations: 182.5 kB / 0.4971 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.207, allocations: 14.36 kB / 0.4971 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.208, allocations: 3.685 MB / 0.5007 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.208, allocations: 7.297 kB / 0.5007 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.2087, allocations: 0.8971 MB / 0.5016 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.2088, allocations: 97.77 kB / 0.5017 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.2089, allocations: 14.81 kB / 0.5017 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2091, allocations: 9.031 kB / 0.5017 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.2091, allocations: 43 kB / 0.5017 GB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2092, allocations: 26.52 kB / 0.5018 GB, free: 23.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006567/0.2098, allocations: 0.8783 MB / 0.5026 GB, free: 22.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2098, allocations: 0 / 0.5026 GB, free: 22.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001213/0.211, allocations: 0.7254 MB / 0.5033 GB, free: 22.64 MB / 410.7 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.0009062/0.2119, allocations: 0.8729 MB / 0.5042 GB, free: 22.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008939/0.2128, allocations: 0.8261 MB / 0.505 GB, free: 22.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2128, allocations: 2.688 kB / 0.505 GB, free: 22.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.2131, allocations: 392 kB / 0.5054 GB, free: 21.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.2137, allocations: 166 kB / 0.5055 GB, free: 21.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2154, allocations: 1.926 MB / 0.5074 GB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.2157, allocations: 0.5037 MB / 0.5079 GB, free: 20.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.2159, allocations: 215.6 kB / 0.5081 GB, free: 20.09 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2159, allocations: 0 / 0.5081 GB, free: 20.09 MB / 410.7 MB Notification: Performance of Templates: time 0.02292/0.2389, allocations: 41.03 MB / 0.5482 GB, free: 13.43 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.071232715621591] Failed to read output from testmodel.py, exit status != 0: 0.24412567354738712 0.251867554 0.07032034000000001 Calling exit ...