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.001376/0.001376, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0015/0.0015, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.08938/0.08938, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.593e-06/1.593e-06, allocations: 0 / 354.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.602e-05, allocations: 2.312 kB / 354.8 MB, free: 9.551 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.04323/0.04326, allocations: 31.08 MB / 385.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02103/0.06429, allocations: 18.61 MB / 404.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.06554, allocations: 27.75 kB / 404.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.0669, allocations: 460.3 kB / 404.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.0697, allocations: 0.9577 MB / 405.9 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007922/0.07762, allocations: 3.043 MB / 408.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002295/0.07991, allocations: 1.871 MB / 410.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.08101, allocations: 0.7905 MB / 411.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.15/0.231, allocations: 1.189 MB / 412.8 MB, free: 37.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.2326, allocations: 0.7663 MB / 413.6 MB, free: 37.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004487/0.2331, allocations: 146.3 kB / 413.7 MB, free: 37.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.2373, allocations: 1.726 MB / 415.4 MB, free: 37.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.2377, allocations: 398.7 kB / 415.8 MB, free: 37.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.2387, allocations: 0.577 MB / 416.4 MB, free: 37.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007041/0.2457, allocations: 3.419 MB / 419.8 MB, free: 37.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2457, allocations: 0 / 419.8 MB, free: 37.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2457, allocations: 0 / 419.8 MB, free: 37.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.2458, allocations: 1.375 kB / 419.8 MB, free: 37.48 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.003195/0.249, allocations: 2.144 MB / 422 MB, free: 36.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.249, allocations: 8.938 kB / 422 MB, free: 36.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.2505, allocations: 0.6827 MB / 422.7 MB, free: 36.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2515, allocations: 0.8536 MB / 423.5 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.945e-05/0.2516, allocations: 203.2 kB / 423.7 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.2518, allocations: 126.2 kB / 423.8 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.2531, allocations: 1.242 MB / 425.1 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.2531, allocations: 5.344 kB / 425.1 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.2532, allocations: 56.81 kB / 425.1 MB, free: 35.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.2533, allocations: 33.81 kB / 425.2 MB, free: 35.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.2545, allocations: 1.262 MB / 426.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.2591, allocations: 5.13 MB / 431.6 MB, free: 33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.2597, allocations: 0.5023 MB / 432.1 MB, free: 32.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.2599, allocations: 188.3 kB / 432.2 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003732/0.2637, allocations: 2.853 MB / 435.1 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2637, allocations: 39.58 kB / 435.1 MB, free: 31.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.2637, allocations: 0 / 435.1 MB, free: 31.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007179/0.2644, allocations: 463 kB / 435.6 MB, free: 31.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.2644, allocations: 109.4 kB / 435.7 MB, free: 31.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/0.2651, allocations: 1.067 MB / 436.8 MB, free: 31.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2651, allocations: 32.95 kB / 436.8 MB, free: 31.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.2654, allocations: 0.9315 MB / 437.7 MB, free: 30.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.2655, allocations: 155 kB / 437.9 MB, free: 30.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.2657, allocations: 299 kB / 438.2 MB, free: 30.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.2658, allocations: 0.5358 MB / 438.7 MB, free: 29.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2659, allocations: 125.1 kB / 438.8 MB, free: 29.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.2664, allocations: 1.318 MB / 440.1 MB, free: 28.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.2672, allocations: 1.585 MB / 441.7 MB, free: 26.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.2672, allocations: 12.59 kB / 441.7 MB, free: 26.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001093/0.2683, allocations: 1.177 MB / 442.9 MB, free: 25.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2683, allocations: 20 kB / 442.9 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.2683, allocations: 28 kB / 443 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.2687, allocations: 153.7 kB / 443.1 MB, free: 25.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.2692, allocations: 395.9 kB / 443.5 MB, free: 25.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2706, allocations: 5.36 MB / 448.9 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.2712, allocations: 181.4 kB / 449 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.2713, allocations: 87.98 kB / 449.1 MB, free: 19.25 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.000278/0.2716, allocations: 272.5 kB / 449.4 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.2717, allocations: 119.3 kB / 449.5 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.2726, allocations: 0.9153 MB / 450.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2726, allocations: 4 kB / 450.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2726, allocations: 3.938 kB / 450.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2726, allocations: 0 / 450.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2737, allocations: 1.181 MB / 451.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2737, allocations: 4 kB / 451.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2738, allocations: 63.72 kB / 451.7 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003775/0.2742, allocations: 176.9 kB / 451.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2742, allocations: 20 kB / 451.9 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.2753, allocations: 5.119 MB / 457 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2754, allocations: 11.5 kB / 457 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.2759, allocations: 0.8871 MB / 457.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.276, allocations: 96.06 kB / 458 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.2761, allocations: 23.89 kB / 458 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.2762, allocations: 8 kB / 458 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2763, allocations: 43.34 kB / 458.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2763, allocations: 16 kB / 458.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003419/0.2766, allocations: 0.6156 MB / 458.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2766, allocations: 0 / 458.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001656/0.2783, allocations: 0.6617 MB / 459.4 MB, free: 8.945 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.001017/0.2793, allocations: 0.8167 MB / 460.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008298/0.2802, allocations: 0.6031 MB / 460.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2802, allocations: 0 / 460.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.2804, allocations: 469 kB / 461.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.2811, allocations: 185.7 kB / 461.4 MB, free: 7.133 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.002249/0.2833, allocations: 1.868 MB / 463.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2834, allocations: 206.5 kB / 463.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.284, allocations: 270.1 kB / 463.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.2843, allocations: 335.1 kB / 464.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2843, allocations: 0 / 464.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of Templates: time 0.02628/0.3106, allocations: 22.87 MB / 486.9 MB, free: 14.95 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.689437688793987]