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.002251/0.002251, allocations: 85.48 kB / 19.44 MB, free: 344 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.002205/0.002205, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.1557/0.1557, allocations: 17.37 MB / 276.9 MB, free: 11.68 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.94e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 MB / 282.7 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.04386/0.04389, allocations: 28.94 MB / 381.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03227/0.07616, allocations: 21.63 MB / 403.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.0775, allocations: 23.81 kB / 403.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.07923, allocations: 500 kB / 403.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.08249, allocations: 0.9965 MB / 404.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009562/0.09205, allocations: 3.45 MB / 408.2 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003456/0.0955, allocations: 1.871 MB / 410.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.09688, allocations: 0.7906 MB / 410.9 MB, free: 104 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1412/0.2381, allocations: 1.138 MB / 412 MB, free: 34.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.2396, allocations: 0.7363 MB / 412.8 MB, free: 34.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.2399, allocations: 150.8 kB / 412.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005601/0.2455, allocations: 1.974 MB / 414.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.2461, allocations: 396.8 kB / 415.3 MB, free: 34.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009402/0.247, allocations: 0.5724 MB / 415.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009258/0.2563, allocations: 4.283 MB / 420.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2563, allocations: 1.062 kB / 420.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2563, allocations: 0 / 420.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.778e-05/0.2563, allocations: 3.656 kB / 420.1 MB, free: 34.38 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.004144/0.2605, allocations: 2.262 MB / 422.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2605, allocations: 9.625 kB / 422.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.2626, allocations: 0.7359 MB / 423.2 MB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.2645, allocations: 1.019 MB / 424.2 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.2646, allocations: 206.4 kB / 424.4 MB, free: 32.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.2648, allocations: 125.9 kB / 424.5 MB, free: 32.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.2672, allocations: 1.684 MB / 426.2 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.2672, allocations: 3.375 kB / 426.2 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.2674, allocations: 52.53 kB / 426.2 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.2674, allocations: 35.06 kB / 426.3 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.2701, allocations: 2.026 MB / 428.3 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007772/0.2779, allocations: 5.63 MB / 433.9 MB, free: 29.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2791, allocations: 0.6933 MB / 434.6 MB, free: 28.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.2795, allocations: 320.9 kB / 434.9 MB, free: 28.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/0.2861, allocations: 3.137 MB / 438.1 MB, free: 27.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2861, allocations: 40.92 kB / 438.1 MB, free: 27.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.335e-06/0.2861, allocations: 0 / 438.1 MB, free: 27.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001362/0.2874, allocations: 0.6231 MB / 438.7 MB, free: 26.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2875, allocations: 114.3 kB / 438.8 MB, free: 26.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.2887, allocations: 1.347 MB / 440.2 MB, free: 25.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.2888, allocations: 33.7 kB / 440.2 MB, free: 25.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.2891, allocations: 0.9707 MB / 441.2 MB, free: 24.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.2892, allocations: 164.6 kB / 441.4 MB, free: 24.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.2895, allocations: 329 kB / 441.7 MB, free: 24.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2897, allocations: 0.5571 MB / 442.2 MB, free: 23.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.29, allocations: 251.9 kB / 442.5 MB, free: 23.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.2908, allocations: 1.464 MB / 443.9 MB, free: 21.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.292, allocations: 1.827 MB / 445.8 MB, free: 19.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.292, allocations: 14.66 kB / 445.8 MB, free: 19.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001897/0.2939, allocations: 1.448 MB / 447.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2939, allocations: 16 kB / 447.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.2939, allocations: 32 kB / 447.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/0.2945, allocations: 161.3 kB / 447.4 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/0.2955, allocations: 395.9 kB / 447.8 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.2977, allocations: 5.499 MB / 453.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009779/0.2987, allocations: 177.4 kB / 453.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.2988, allocations: 99.98 kB / 453.6 MB, free: 11.33 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.0004529/0.2993, allocations: 363.1 kB / 454 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.2995, allocations: 126.7 kB / 454.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.301, allocations: 1.048 MB / 455.1 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.301, allocations: 6.859 kB / 455.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.301, allocations: 0 / 455.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.301, allocations: 3.938 kB / 455.1 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.303, allocations: 1.438 MB / 456.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.303, allocations: 0 / 456.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3032, allocations: 63.34 kB / 456.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000698/0.3039, allocations: 196.5 kB / 456.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3039, allocations: 12 kB / 456.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.3058, allocations: 5.281 MB / 462.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3058, allocations: 4 kB / 462.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3069, allocations: 1.044 MB / 463.2 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3071, allocations: 99.22 kB / 463.3 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3073, allocations: 19.89 kB / 463.3 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.3076, allocations: 8 kB / 463.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3077, allocations: 51.56 kB / 463.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3077, allocations: 16 kB / 463.4 MB, free: 1.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007848/0.3085, allocations: 0.83 MB / 464.2 MB, free: 348 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 2.656 kB / 464.2 MB, free: 348 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002409/0.3109, allocations: 0.7162 MB / 464.9 MB, free: 15.62 MB / 346.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.001784/0.3127, allocations: 0.8767 MB / 465.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.3146, allocations: 0.8127 MB / 466.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3146, allocations: 0 / 466.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.3152, allocations: 0.509 MB / 467.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3164, allocations: 186.8 kB / 467.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.32, allocations: 1.962 MB / 469.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.3207, allocations: 0.4955 MB / 469.7 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009853/0.3217, allocations: 297.8 kB / 470 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.322, allocations: 150.8 kB / 470.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.053e-06/0.322, allocations: 0 / 470.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Templates: time 0.04007/0.3621, allocations: 20.8 MB / 491 MB, free: 6.863 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.735628527938388]