Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1031/0.1031, allocations: 15.54 MB / 320.6 MB, free: 13.23 MB / 254.1 MB [Timeout remaining time 90] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.86 kB / 448.6 MB, free: 46.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.1006, allocations: 56.56 MB / 0.4934 GB, free: 19.52 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.CheckSubstancesData.StandardElectrochemicalCell): time 0.0346/0.1352, allocations: 27.98 MB / 0.5207 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02722/0.1624, allocations: 21.65 MB / 0.5418 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.1637, allocations: 19.88 kB / 0.5418 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.1653, allocations: 0.5391 MB / 0.5424 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.1684, allocations: 1.005 MB / 0.5434 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008711/0.1771, allocations: 3.311 MB / 0.5466 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.1801, allocations: 1.797 MB / 0.5483 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1812, allocations: 0.774 MB / 0.5491 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1822, allocations: 0.7985 MB / 0.5499 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.1834, allocations: 0.8951 MB / 0.5508 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.1837, allocations: 148 kB / 0.5509 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.1901, allocations: 2.086 MB / 0.5529 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.1907, allocations: 386.8 kB / 0.5533 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.1918, allocations: 0.801 MB / 0.5541 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009534/0.2014, allocations: 3.964 MB / 0.558 GB, free: 3.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2014, allocations: 4 kB / 0.558 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2014, allocations: 3.938 kB / 0.558 GB, free: 3.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.2014, allocations: 0 / 0.558 GB, free: 3.262 MB / 414.1 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.003772/0.2052, allocations: 2.147 MB / 0.5601 GB, free: 1.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2052, allocations: 8.031 kB / 0.5601 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.207, allocations: 435.1 kB / 0.5605 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2089, allocations: 1.052 MB / 0.5615 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.2091, allocations: 158.2 kB / 0.5617 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.2093, allocations: 124 kB / 0.5618 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.2123, allocations: 1.748 MB / 0.5635 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.2123, allocations: 0 / 0.5635 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.2124, allocations: 56 kB / 0.5635 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.2125, allocations: 32 kB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.2161, allocations: 2.323 MB / 0.5658 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008589/0.2247, allocations: 5.576 MB / 0.5713 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.2261, allocations: 0.6963 MB / 0.572 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.2267, allocations: 336.4 kB / 0.5723 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008565/0.2353, allocations: 5.705 MB / 0.5779 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2353, allocations: 38.56 kB / 0.5779 GB, free: 13.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.973e-06/0.2353, allocations: 0 / 0.5779 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.00168/0.237, allocations: 0.7971 MB / 0.5787 GB, free: 12.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.2371, allocations: 110.8 kB / 0.5788 GB, free: 12.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.2387, allocations: 1.287 MB / 0.58 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.2388, allocations: 37.7 kB / 0.5801 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/0.2394, allocations: 0.8645 MB / 0.5809 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.2396, allocations: 159.1 kB / 0.5811 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.24, allocations: 291.4 kB / 0.5813 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2402, allocations: 353.9 kB / 0.5817 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.2407, allocations: 339.8 kB / 0.582 GB, free: 9.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.242, allocations: 1.156 MB / 0.5831 GB, free: 7.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.2439, allocations: 1.529 MB / 0.5846 GB, free: 5.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.2439, allocations: 8 kB / 0.5846 GB, free: 5.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002708/0.2466, allocations: 1.547 MB / 0.5861 GB, free: 4.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.2466, allocations: 16 kB / 0.5862 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.2467, allocations: 39.92 kB / 0.5862 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006506/0.2473, allocations: 162 kB / 0.5864 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.2485, allocations: 395.4 kB / 0.5867 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.2519, allocations: 4.066 MB / 0.5907 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2531, allocations: 198.8 kB / 0.5909 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.2532, allocations: 99.98 kB / 0.591 GB, free: 15.04 MB / 462.1 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.0005497/0.2538, allocations: 345 kB / 0.5913 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.254, allocations: 115.2 kB / 0.5914 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.2559, allocations: 0.9481 MB / 0.5923 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.2559, allocations: 4 kB / 0.5924 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2559, allocations: 0 / 0.5924 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2559, allocations: 4 kB / 0.5924 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.2582, allocations: 1.37 MB / 0.5937 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.2582, allocations: 4 kB / 0.5937 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.2584, allocations: 55.91 kB / 0.5938 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007487/0.2592, allocations: 183.3 kB / 0.5939 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.2592, allocations: 12 kB / 0.5939 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.2624, allocations: 3.951 MB / 0.5978 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2624, allocations: 7.875 kB / 0.5978 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2638, allocations: 0.9134 MB / 0.5987 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.2641, allocations: 188.3 kB / 0.5989 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.2642, allocations: 23.83 kB / 0.5989 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.2647, allocations: 8 kB / 0.5989 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.2648, allocations: 39.97 kB / 0.5989 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.2648, allocations: 19.98 kB / 0.599 GB, free: 6.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.2661, allocations: 0.9586 MB / 0.5999 GB, free: 5.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 0 / 0.5999 GB, free: 5.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002297/0.2684, allocations: 0.7045 MB / 0.6006 GB, free: 4.602 MB / 462.1 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.001667/0.2701, allocations: 0.8442 MB / 0.6014 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.2721, allocations: 0.8069 MB / 0.6022 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.2721, allocations: 0 / 0.6022 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.2727, allocations: 397.1 kB / 0.6026 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.2741, allocations: 205.4 kB / 0.6028 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.2778, allocations: 2.026 MB / 0.6048 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2303/0.5081, allocations: 1.091 MB / 0.6058 GB, free: 96.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/0.5087, allocations: 208.9 kB / 0.606 GB, free: 96.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5087, allocations: 1.031 kB / 0.606 GB, free: 96.25 MB / 462.1 MB Notification: Performance of Templates: time 0.0463/0.555, allocations: 40.44 MB / 0.6455 GB, free: 70.76 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480]