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.001188/0.001188, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009994/0.0009994, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9756/0.9756, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.08857/0.08857, allocations: 17.46 MB / 277.4 MB, free: 11.56 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 2.394e-06/2.394e-06, allocations: 3.938 kB / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.55e-05, allocations: 2.312 kB / 353.6 MB, free: 9.836 MB / 282.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.03379/0.03383, allocations: 31.15 MB / 384.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.04911, allocations: 19.03 MB / 403.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.05008, allocations: 27.75 kB / 403.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.05103, allocations: 468.2 kB / 404.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.05308, allocations: 0.9577 MB / 405.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006785/0.05987, allocations: 3.047 MB / 408.2 MB, free: 3.184 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.06123, allocations: 1.867 MB / 410.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006123/0.06184, allocations: 0.7905 MB / 410.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1417/0.2035, allocations: 1.191 MB / 412.1 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.2046, allocations: 0.7697 MB / 412.9 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.2048, allocations: 146.5 kB / 413 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.2087, allocations: 1.721 MB / 414.7 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.209, allocations: 400.8 kB / 415.1 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.2095, allocations: 0.5783 MB / 415.7 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.2133, allocations: 3.415 MB / 419.1 MB, free: 37.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2133, allocations: 0 / 419.1 MB, free: 37.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2133, allocations: 0 / 419.1 MB, free: 37.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2133, allocations: 0 / 419.1 MB, free: 37.32 MB / 330.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.002083/0.2154, allocations: 2.145 MB / 421.2 MB, free: 36.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2155, allocations: 10 kB / 421.3 MB, free: 36.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.2166, allocations: 0.6803 MB / 421.9 MB, free: 35.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.2174, allocations: 0.8546 MB / 422.8 MB, free: 35.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.2175, allocations: 204.7 kB / 423 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2176, allocations: 126.8 kB / 423.1 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.219, allocations: 1.348 MB / 424.5 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.219, allocations: 6.312 kB / 424.5 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.2191, allocations: 57 kB / 424.5 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.2191, allocations: 35.81 kB / 424.6 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.2207, allocations: 1.459 MB / 426 MB, free: 35.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004132/0.2248, allocations: 5.092 MB / 431.1 MB, free: 32.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.2255, allocations: 0.5495 MB / 431.7 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.2258, allocations: 211.7 kB / 431.9 MB, free: 32.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003188/0.229, allocations: 2.857 MB / 434.7 MB, free: 31.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.229, allocations: 41.36 kB / 434.8 MB, free: 31.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.229, allocations: 0 / 434.8 MB, free: 31.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007702/0.2298, allocations: 494.3 kB / 435.2 MB, free: 31.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.2298, allocations: 106 kB / 435.3 MB, free: 31.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/0.2305, allocations: 1.09 MB / 436.4 MB, free: 30.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2305, allocations: 33.8 kB / 436.5 MB, free: 30.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.2308, allocations: 0.9193 MB / 437.4 MB, free: 29.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.2309, allocations: 159.1 kB / 437.5 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.2311, allocations: 297.5 kB / 437.8 MB, free: 29.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.2312, allocations: 0.5231 MB / 438.4 MB, free: 28.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2314, allocations: 147 kB / 438.5 MB, free: 28.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.2319, allocations: 1.348 MB / 439.9 MB, free: 27.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009155/0.2328, allocations: 1.617 MB / 441.5 MB, free: 25.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.2328, allocations: 10.41 kB / 441.5 MB, free: 25.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001196/0.234, allocations: 1.251 MB / 442.7 MB, free: 24.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.234, allocations: 18.59 kB / 442.7 MB, free: 24.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.234, allocations: 34.11 kB / 442.8 MB, free: 24.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.2344, allocations: 151 kB / 442.9 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.2349, allocations: 398.6 kB / 443.3 MB, free: 23.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.2363, allocations: 5.396 MB / 448.7 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.2368, allocations: 177.4 kB / 448.9 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.2368, allocations: 102.7 kB / 449 MB, free: 18.03 MB / 330.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.0002185/0.2371, allocations: 268 kB / 449.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2372, allocations: 119.2 kB / 449.4 MB, free: 17.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.2381, allocations: 0.9153 MB / 450.3 MB, free: 16.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2381, allocations: 7.984 kB / 450.3 MB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2381, allocations: 7.062 kB / 450.3 MB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2381, allocations: 3.938 kB / 450.3 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.2391, allocations: 1.17 MB / 451.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2391, allocations: 4 kB / 451.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2392, allocations: 55.81 kB / 451.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.2396, allocations: 187.6 kB / 451.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2396, allocations: 12 kB / 451.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.2408, allocations: 5.169 MB / 456.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2408, allocations: 10.97 kB / 456.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.2413, allocations: 0.9113 MB / 457.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.2414, allocations: 91.23 kB / 457.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.2415, allocations: 19.88 kB / 457.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2416, allocations: 14.66 kB / 457.9 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.2417, allocations: 45.09 kB / 458 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2417, allocations: 23.98 kB / 458 MB, free: 8.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004344/0.2421, allocations: 0.662 MB / 458.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2421, allocations: 0 / 458.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001549/0.2437, allocations: 0.6734 MB / 459.3 MB, free: 7.27 MB / 330.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.0009247/0.2446, allocations: 0.7593 MB / 460.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007661/0.2454, allocations: 0.6456 MB / 460.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2454, allocations: 2.656 kB / 460.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.2456, allocations: 467.2 kB / 461.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.2462, allocations: 192.3 kB / 461.4 MB, free: 5.438 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2483, allocations: 1.878 MB / 463.3 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2485, allocations: 203.8 kB / 463.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004694/0.2489, allocations: 288.5 kB / 463.7 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2491, allocations: 162.4 kB / 463.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2491, allocations: 2.656 kB / 463.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of Templates: time 0.02447/0.2736, allocations: 22.47 MB / 486.4 MB, free: 13.8 MB / 362.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.566185976844281]