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.000958/0.000958, allocations: 92.22 kB / 19.65 MB, free: 276 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.001293/0.001293, allocations: 169 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.957/0.957, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.08667/0.08667, allocations: 17.47 MB / 277.4 MB, free: 11.55 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.834e-06/1.834e-06, allocations: 3.938 kB / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.25e-05, allocations: 10.19 kB / 353.6 MB, free: 9.832 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.03038/0.03042, allocations: 31.15 MB / 384.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.04558, allocations: 19.03 MB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008978/0.04648, allocations: 27.75 kB / 403.8 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.0475, allocations: 468.2 kB / 404.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.04955, allocations: 0.9538 MB / 405.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006195/0.05575, allocations: 3.051 MB / 408.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.05804, allocations: 1.863 MB / 410.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.05932, allocations: 0.7944 MB / 410.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1444/0.2037, allocations: 1.131 MB / 412 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.2051, allocations: 0.7393 MB / 412.8 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.2055, allocations: 148.2 kB / 412.9 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.2096, allocations: 1.721 MB / 414.6 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.2101, allocations: 398.1 kB / 415 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.2111, allocations: 0.572 MB / 415.6 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.2184, allocations: 3.364 MB / 419 MB, free: 37.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2184, allocations: 1.219 kB / 419 MB, free: 37.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2184, allocations: 0 / 419 MB, free: 37.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.725e-05/0.2184, allocations: 0 / 419 MB, free: 37.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.003763/0.2222, allocations: 2.126 MB / 421.1 MB, free: 36.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.2223, allocations: 8.469 kB / 421.1 MB, free: 36.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.2239, allocations: 0.7321 MB / 421.8 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.2254, allocations: 1.013 MB / 422.8 MB, free: 35.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2256, allocations: 204.6 kB / 423 MB, free: 35.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.2257, allocations: 125.8 kB / 423.2 MB, free: 35.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.2275, allocations: 1.354 MB / 424.5 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.2275, allocations: 2.281 kB / 424.5 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.2276, allocations: 54.03 kB / 424.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.2276, allocations: 32.34 kB / 424.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.2292, allocations: 1.456 MB / 426.1 MB, free: 35.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.2339, allocations: 5.084 MB / 431.1 MB, free: 32.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.2347, allocations: 0.545 MB / 431.7 MB, free: 32.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.235, allocations: 211.5 kB / 431.9 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003726/0.2387, allocations: 2.844 MB / 434.7 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2387, allocations: 43.45 kB / 434.8 MB, free: 31.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.934e-06/0.2387, allocations: 0 / 434.8 MB, free: 31.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009427/0.2397, allocations: 489.6 kB / 435.3 MB, free: 31.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.2397, allocations: 111.8 kB / 435.4 MB, free: 30.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.2406, allocations: 1.09 MB / 436.5 MB, free: 30.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.2406, allocations: 32.92 kB / 436.5 MB, free: 30.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.241, allocations: 0.9259 MB / 437.4 MB, free: 29.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.2411, allocations: 152.6 kB / 437.6 MB, free: 29.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.2413, allocations: 296.5 kB / 437.9 MB, free: 29.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.2414, allocations: 0.5245 MB / 438.4 MB, free: 28.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.2416, allocations: 150 kB / 438.5 MB, free: 28.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.2421, allocations: 1.337 MB / 439.9 MB, free: 27.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/0.2431, allocations: 1.622 MB / 441.5 MB, free: 25.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.2431, allocations: 14.44 kB / 441.5 MB, free: 25.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001276/0.2444, allocations: 1.244 MB / 442.7 MB, free: 24.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2444, allocations: 16 kB / 442.8 MB, free: 24.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.2445, allocations: 38.09 kB / 442.8 MB, free: 24.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.2449, allocations: 157.6 kB / 442.9 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.2454, allocations: 392.1 kB / 443.3 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.2468, allocations: 5.406 MB / 448.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.2475, allocations: 177.4 kB / 448.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.2475, allocations: 99.98 kB / 449 MB, free: 18.02 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.0002942/0.2478, allocations: 267.7 kB / 449.3 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.248, allocations: 121.9 kB / 449.4 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.2488, allocations: 0.9122 MB / 450.3 MB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2488, allocations: 4 kB / 450.3 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.2488, allocations: 0 / 450.3 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2488, allocations: 3.938 kB / 450.3 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.25, allocations: 1.167 MB / 451.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.25, allocations: 5.688 kB / 451.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2501, allocations: 59.44 kB / 451.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003781/0.2505, allocations: 176.7 kB / 451.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2505, allocations: 22.67 kB / 451.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.2517, allocations: 5.167 MB / 456.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2517, allocations: 7.469 kB / 456.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.2523, allocations: 0.9111 MB / 457.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2524, allocations: 99.22 kB / 457.9 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.2525, allocations: 15.89 kB / 457.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.2527, allocations: 14.62 kB / 457.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.2527, allocations: 45.55 kB / 458 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.2528, allocations: 23.94 kB / 458 MB, free: 8.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.2532, allocations: 0.6685 MB / 458.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2532, allocations: 0 / 458.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001684/0.2549, allocations: 0.6695 MB / 459.4 MB, free: 7.266 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.001059/0.256, allocations: 0.7672 MB / 460.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009136/0.2569, allocations: 0.6366 MB / 460.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2569, allocations: 0 / 460.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.2572, allocations: 474.1 kB / 461.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.2578, allocations: 195.2 kB / 461.4 MB, free: 5.422 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.002447/0.2603, allocations: 1.876 MB / 463.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2604, allocations: 207.6 kB / 463.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000588/0.261, allocations: 293 kB / 463.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.2611, allocations: 150.7 kB / 463.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2611, allocations: 0 / 463.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of Templates: time 0.02307/0.2842, allocations: 19.2 MB / 483.1 MB, free: 0.8516 MB / 346.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.6148077519610524]