Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001024/0.001024, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009387/0.0009387, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.043/1.043, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.1024/0.1024, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 300.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.199e-05, allocations: 6.531 kB / 300.7 MB, free: 1.832 MB / 266.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.StandardElectrochemicalCell2): time 0.03586/0.03587, allocations: 36.28 MB / 336.9 MB, free: 276 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.05113, allocations: 13.35 MB / 350.3 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008754/0.052, allocations: 23.81 kB / 350.3 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.05291, allocations: 376.8 kB / 350.7 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.055, allocations: 0.7948 MB / 351.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.06008, allocations: 2.131 MB / 353.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.06163, allocations: 1.695 MB / 355.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.06243, allocations: 0.7862 MB / 356.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.06344, allocations: 1.088 MB / 357.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.06432, allocations: 0.7015 MB / 357.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.06451, allocations: 140 kB / 358 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.06672, allocations: 1.213 MB / 359.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.06702, allocations: 378.8 kB / 359.6 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005087/0.06753, allocations: 0.5418 MB / 360.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.0704, allocations: 2.611 MB / 362.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.07041, allocations: 4 kB / 362.8 MB, free: 6.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.07041, allocations: 0 / 362.8 MB, free: 6.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.07042, allocations: 0 / 362.8 MB, free: 6.328 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.001989/0.07241, allocations: 1.771 MB / 364.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.07244, allocations: 8.031 kB / 364.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.0738, allocations: 0.5885 MB / 365.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/0.07471, allocations: 0.6293 MB / 365.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.07483, allocations: 197.8 kB / 365.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.07499, allocations: 116.4 kB / 366.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.07643, allocations: 1.149 MB / 367.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.07645, allocations: 0 / 367.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.07655, allocations: 48 kB / 367.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.07658, allocations: 32 kB / 367.3 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.07794, allocations: 1.008 MB / 368.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.08155, allocations: 3.783 MB / 372.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.0821, allocations: 0.5154 MB / 372.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.08233, allocations: 148.5 kB / 372.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002959/0.08529, allocations: 2.333 MB / 375.1 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.08531, allocations: 38.56 kB / 375.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001342/0.08545, allocations: 71.36 kB / 375.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.462e-06/0.08545, allocations: 0 / 375.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005268/0.08598, allocations: 359 kB / 375.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.08602, allocations: 110.8 kB / 375.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/0.08666, allocations: 0.9154 MB / 376.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.08669, allocations: 29.7 kB / 376.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.08699, allocations: 0.7254 MB / 377.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/0.08707, allocations: 139 kB / 377.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.08727, allocations: 270.6 kB / 377.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.08741, allocations: 418.5 kB / 378.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.08755, allocations: 117.4 kB / 378.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.088, allocations: 0.8466 MB / 379.1 MB, free: 5.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.08873, allocations: 1.126 MB / 380.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.08874, allocations: 8 kB / 380.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008306/0.08957, allocations: 0.8825 MB / 381.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.08959, allocations: 16 kB / 381.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.08961, allocations: 28 kB / 381.1 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/0.08993, allocations: 153.3 kB / 381.3 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.09057, allocations: 400.7 kB / 381.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.09207, allocations: 3.604 MB / 385.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.09243, allocations: 72.27 kB / 385.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.0925, allocations: 83.98 kB / 385.4 MB, free: 14.24 MB / 362.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.0001864/0.09268, allocations: 223.9 kB / 385.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.09277, allocations: 59.88 kB / 385.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.09358, allocations: 0.7384 MB / 386.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.09359, allocations: 0 / 386.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.09359, allocations: 4 kB / 386.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.09359, allocations: 3.938 kB / 386.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008508/0.09444, allocations: 0.9062 MB / 387.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.09444, allocations: 0 / 387.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.0946, allocations: 71.89 kB / 387.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.09497, allocations: 183.2 kB / 387.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.09499, allocations: 12 kB / 387.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.09635, allocations: 3.46 MB / 391.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.09636, allocations: 7.938 kB / 391.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.09683, allocations: 0.6368 MB / 391.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.0969, allocations: 79.38 kB / 391.8 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.09696, allocations: 11.95 kB / 391.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.09717, allocations: 8 kB / 391.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.09722, allocations: 43.83 kB / 391.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.09724, allocations: 19.98 kB / 391.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.09758, allocations: 452.3 kB / 392.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09758, allocations: 4 kB / 392.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008941/0.09847, allocations: 0.5295 MB / 392.9 MB, free: 6.379 MB / 362.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.0006124/0.09908, allocations: 0.5533 MB / 393.4 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.09975, allocations: 0.5582 MB / 394 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-05/0.09977, allocations: 17.81 kB / 394 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.09999, allocations: 338.9 kB / 394.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1005, allocations: 176.5 kB / 394.5 MB, free: 4.715 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1024, allocations: 1.693 MB / 396.2 MB, free: 2.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1025, allocations: 191.1 kB / 396.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000448/0.103, allocations: 239.6 kB / 396.6 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.1033, allocations: 265.2 kB / 396.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1033, allocations: 0 / 396.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of Templates: time 0.01981/0.1231, allocations: 18.27 MB / 415.1 MB, free: 92 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2356958519667387]