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.001818/0.001818, allocations: 88.72 kB / 19.44 MB, free: 356 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.002339/0.002339, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.536/1.536, allocations: 177.2 MB / 203.1 MB, free: 5.594 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.14/0.14, allocations: 17.37 MB / 276.9 MB, free: 11.67 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.843e-06/1.843e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.305e-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.04566/0.0457, allocations: 28.17 MB / 380.9 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02931/0.07501, allocations: 19 MB / 399.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.07628, allocations: 27.75 kB / 399.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.07817, allocations: 0.4961 MB / 400.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003659/0.08183, allocations: 0.9926 MB / 401.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.09321, allocations: 3.446 MB / 404.8 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.09692, allocations: 1.871 MB / 406.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.09859, allocations: 0.7866 MB / 407.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.1012, allocations: 1.131 MB / 408.6 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.1032, allocations: 0.7053 MB / 409.3 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006127/0.1038, allocations: 148 kB / 409.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1808/0.2846, allocations: 1.973 MB / 411.5 MB, free: 36.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.2853, allocations: 388.2 kB / 411.8 MB, free: 36.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.287, allocations: 0.5677 MB / 412.4 MB, free: 36.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.2973, allocations: 4.277 MB / 416.7 MB, free: 36.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2974, allocations: 0 / 416.7 MB, free: 36.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2974, allocations: 4.75 kB / 416.7 MB, free: 36.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.352e-05/0.2974, allocations: 0 / 416.7 MB, free: 36.72 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.004907/0.3023, allocations: 2.052 MB / 418.7 MB, free: 35.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.3024, allocations: 12.66 kB / 418.7 MB, free: 35.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/0.3057, allocations: 0.7327 MB / 419.5 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.309, allocations: 1.021 MB / 420.5 MB, free: 35.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.3093, allocations: 202.8 kB / 420.7 MB, free: 35.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.3096, allocations: 122.8 kB / 420.8 MB, free: 35.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/0.3131, allocations: 1.767 MB / 422.6 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3131, allocations: 0 / 422.6 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.3133, allocations: 61.78 kB / 422.6 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.3133, allocations: 34.25 kB / 422.7 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.3165, allocations: 2.301 MB / 425 MB, free: 34.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007392/0.3239, allocations: 4.851 MB / 429.8 MB, free: 32.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.3251, allocations: 0.698 MB / 430.5 MB, free: 32.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.3257, allocations: 338.4 kB / 430.9 MB, free: 31.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006839/0.3325, allocations: 2.963 MB / 433.8 MB, free: 30.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3325, allocations: 37.38 kB / 433.9 MB, free: 30.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.3325, allocations: 0 / 433.9 MB, free: 30.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001549/0.3341, allocations: 0.6541 MB / 434.5 MB, free: 30.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.3341, allocations: 106.8 kB / 434.6 MB, free: 30.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.3357, allocations: 1.245 MB / 435.9 MB, free: 29.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.3357, allocations: 29.7 kB / 435.9 MB, free: 29.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.3361, allocations: 0.861 MB / 436.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3363, allocations: 159.9 kB / 436.9 MB, free: 29.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.3366, allocations: 289.5 kB / 437.2 MB, free: 28.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.3366, allocations: 358.5 kB / 437.5 MB, free: 28.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.3371, allocations: 342.8 kB / 437.9 MB, free: 28.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.3379, allocations: 1.158 MB / 439 MB, free: 27.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3391, allocations: 1.54 MB / 440.6 MB, free: 25.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.3392, allocations: 6.5 kB / 440.6 MB, free: 25.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002185/0.3413, allocations: 1.625 MB / 442.2 MB, free: 24.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.3414, allocations: 20 kB / 442.2 MB, free: 24.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.3414, allocations: 28 kB / 442.3 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/0.342, allocations: 153.1 kB / 442.4 MB, free: 24.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3431, allocations: 395.7 kB / 442.8 MB, free: 24.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.3451, allocations: 3.827 MB / 446.6 MB, free: 20.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3461, allocations: 177.4 kB / 446.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3463, allocations: 105.7 kB / 446.9 MB, free: 19.88 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.000471/0.3467, allocations: 321.6 kB / 447.2 MB, free: 19.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3469, allocations: 131.2 kB / 447.3 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.3485, allocations: 0.9411 MB / 448.3 MB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3485, allocations: 4 kB / 448.3 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3485, allocations: 0 / 448.3 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3485, allocations: 7.922 kB / 448.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3502, allocations: 1.152 MB / 449.4 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3502, allocations: 6.656 kB / 449.4 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3504, allocations: 63.34 kB / 449.5 MB, free: 17.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/0.3512, allocations: 177.3 kB / 449.7 MB, free: 17.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3512, allocations: 19.98 kB / 449.7 MB, free: 17.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.353, allocations: 3.703 MB / 453.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.353, allocations: 7.312 kB / 453.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.354, allocations: 0.9094 MB / 454.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.3543, allocations: 91.22 kB / 454.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3545, allocations: 26.55 kB / 454.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.3549, allocations: 8 kB / 454.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.355, allocations: 43.34 kB / 454.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.355, allocations: 20 kB / 454.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009779/0.356, allocations: 0.8769 MB / 455.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.356, allocations: 0 / 455.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002877/0.3588, allocations: 0.7162 MB / 456.1 MB, free: 10.39 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.002185/0.361, allocations: 0.8838 MB / 457 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.3628, allocations: 0.8243 MB / 457.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3628, allocations: 0 / 457.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.3633, allocations: 391.7 kB / 458.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.3646, allocations: 195.9 kB / 458.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3678, allocations: 1.919 MB / 460.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.3683, allocations: 0.5106 MB / 460.8 MB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009043/0.3692, allocations: 295.2 kB / 461.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.3695, allocations: 155.1 kB / 461.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3695, allocations: 0 / 461.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of Templates: time 0.03624/0.4057, allocations: 20.77 MB / 482 MB, free: 1.805 MB / 346.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.615374692948535]