Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001039/0.001039, allocations: 93.06 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.0009922/0.0009922, allocations: 173 kB / 23.02 MB, free: 1.547 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.9635/0.9635, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.09048/0.09048, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 353.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.916e-05, allocations: 2.312 kB / 353.6 MB, free: 10.89 MB / 330.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.StandardElectrochemicalCell2): time 0.02545/0.02547, allocations: 30.48 MB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.03711, allocations: 13.41 MB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.03787, allocations: 23.81 kB / 397.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008449/0.03871, allocations: 357 kB / 397.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.04004, allocations: 0.8025 MB / 398.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.04393, allocations: 2.135 MB / 400.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.04525, allocations: 1.691 MB / 402.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007755/0.04603, allocations: 0.7784 MB / 403.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.04707, allocations: 1.088 MB / 404.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000969/0.04804, allocations: 0.7054 MB / 405 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002922/0.04833, allocations: 140 kB / 405.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.05049, allocations: 1.185 MB / 406.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.05076, allocations: 378.8 kB / 406.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.05127, allocations: 0.534 MB / 407.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.05424, allocations: 2.611 MB / 409.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.05425, allocations: 0 / 409.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.05425, allocations: 0 / 409.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.707e-05/0.05429, allocations: 4 kB / 409.9 MB, free: 2.559 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.002677/0.05696, allocations: 1.912 MB / 411.8 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.05701, allocations: 8.031 kB / 411.8 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.05846, allocations: 0.6092 MB / 412.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.05946, allocations: 0.7829 MB / 413.2 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.0596, allocations: 201.7 kB / 413.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.05976, allocations: 120.4 kB / 413.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.06149, allocations: 1.259 MB / 414.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.06151, allocations: 7.938 kB / 414.8 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.06163, allocations: 44 kB / 414.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.06165, allocations: 32 kB / 414.8 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.06357, allocations: 1.3 MB / 416.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.06892, allocations: 4.956 MB / 421.1 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.0698, allocations: 0.5429 MB / 421.6 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.07015, allocations: 212.9 kB / 421.8 MB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003857/0.074, allocations: 2.624 MB / 424.5 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.07403, allocations: 37.39 kB / 424.5 MB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001864/0.07421, allocations: 67.34 kB / 424.6 MB, free: 3.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.07422, allocations: 7.938 kB / 424.6 MB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008998/0.07512, allocations: 460.1 kB / 425 MB, free: 2.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.07516, allocations: 110.8 kB / 425.1 MB, free: 2.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.07617, allocations: 1.008 MB / 426.1 MB, free: 1.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.0762, allocations: 33.7 kB / 426.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.07663, allocations: 0.8596 MB / 427 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.07672, allocations: 139 kB / 427.2 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.07699, allocations: 276.6 kB / 427.4 MB, free: 496 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.07719, allocations: 0.5898 MB / 428 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.07745, allocations: 134.5 kB / 428.2 MB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/0.0782, allocations: 1.203 MB / 429.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.07939, allocations: 1.458 MB / 430.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.0794, allocations: 8 kB / 430.8 MB, free: 12.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001673/0.08107, allocations: 1.157 MB / 432 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.0811, allocations: 16 kB / 432 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.08112, allocations: 28 kB / 432 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.08152, allocations: 151 kB / 432.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.08232, allocations: 383.6 kB / 432.5 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.08452, allocations: 5.382 MB / 437.9 MB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.08506, allocations: 72.11 kB / 438 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-05/0.08516, allocations: 91.98 kB / 438.1 MB, free: 4.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.0002374/0.0854, allocations: 259.9 kB / 438.3 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.08555, allocations: 107.3 kB / 438.4 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.08682, allocations: 0.8319 MB / 439.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.08683, allocations: 4 kB / 439.3 MB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.08683, allocations: 0 / 439.3 MB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.08683, allocations: 3.984 kB / 439.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.0881, allocations: 1.054 MB / 440.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.08811, allocations: 7.938 kB / 440.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.08828, allocations: 59.91 kB / 440.4 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.08873, allocations: 186.3 kB / 440.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.08875, allocations: 12 kB / 440.6 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.155/0.2438, allocations: 5.161 MB / 445.8 MB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2438, allocations: 6.656 kB / 445.8 MB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.2445, allocations: 0.8614 MB / 446.6 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.2447, allocations: 84.78 kB / 446.7 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.2448, allocations: 11.05 kB / 446.7 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2449, allocations: 17.39 kB / 446.7 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.245, allocations: 38.03 kB / 446.8 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.245, allocations: 16.47 kB / 446.8 MB, free: 95.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004592/0.2455, allocations: 0.6224 MB / 447.4 MB, free: 95.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2455, allocations: 0 / 447.4 MB, free: 95.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001308/0.2468, allocations: 0.5339 MB / 448 MB, free: 95.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * 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.000611/0.2474, allocations: 0.5389 MB / 448.5 MB, free: 95.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.2482, allocations: 0.6022 MB / 449.1 MB, free: 95.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2482, allocations: 0 / 449.1 MB, free: 95.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.2485, allocations: 466.2 kB / 449.5 MB, free: 94.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.2491, allocations: 169.7 kB / 449.7 MB, free: 94.68 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2511, allocations: 1.736 MB / 451.4 MB, free: 93.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2512, allocations: 193.1 kB / 451.6 MB, free: 93.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004223/0.2516, allocations: 267.4 kB / 451.9 MB, free: 93.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2518, allocations: 133.3 kB / 452 MB, free: 93.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2518, allocations: 0 / 452 MB, free: 93.7 MB / 410.7 MB Notification: Performance of Templates: time 0.01748/0.2693, allocations: 17.99 MB / 470 MB, free: 92.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4967286149039865]