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.001076/0.001076, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001218/0.001218, allocations: 169 kB / 23.27 MB, free: 1.223 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.002/1.002, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.08964/0.08964, allocations: 17.47 MB / 277.7 MB, free: 11.42 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 3.106e-06/3.106e-06, allocations: 7.938 kB / 354 MB, free: 9.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.201e-05, allocations: 2.312 kB / 354 MB, free: 9.57 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.StandardElectrochemicalCell2): time 0.02676/0.02679, allocations: 30.44 MB / 384.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.03746, allocations: 13.13 MB / 397.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.03819, allocations: 27.75 kB / 397.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.03891, allocations: 361 kB / 398 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.04045, allocations: 0.7987 MB / 398.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.04414, allocations: 2.131 MB / 400.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.0456, allocations: 1.703 MB / 402.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.04632, allocations: 0.7706 MB / 403.4 MB, free: 8.246 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.0472, allocations: 1.088 MB / 404.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.04792, allocations: 0.7093 MB / 405.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.04814, allocations: 140 kB / 405.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.05037, allocations: 1.189 MB / 406.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.05059, allocations: 374.8 kB / 406.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.05098, allocations: 0.5379 MB / 407.4 MB, free: 4.211 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.05365, allocations: 2.611 MB / 410 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.05366, allocations: 7.984 kB / 410 MB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05366, allocations: 0 / 410 MB, free: 1.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.919e-05/0.05369, allocations: 0 / 410 MB, free: 1.582 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.1297/0.1834, allocations: 1.915 MB / 411.9 MB, free: 45.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.1834, allocations: 12.42 kB / 411.9 MB, free: 45.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.1852, allocations: 0.6067 MB / 412.5 MB, free: 45.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1865, allocations: 0.7654 MB / 413.3 MB, free: 44.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1866, allocations: 200.9 kB / 413.5 MB, free: 44.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.1868, allocations: 117.2 kB / 413.6 MB, free: 44.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1884, allocations: 1.163 MB / 414.8 MB, free: 44.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.1884, allocations: 4.562 kB / 414.8 MB, free: 44.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.1885, allocations: 51.38 kB / 414.8 MB, free: 44.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.1885, allocations: 31 kB / 414.9 MB, free: 44.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.1902, allocations: 1.127 MB / 416 MB, free: 44.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005293/0.1955, allocations: 4.971 MB / 421 MB, free: 42.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.1963, allocations: 0.5022 MB / 421.5 MB, free: 42.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.1965, allocations: 185 kB / 421.6 MB, free: 41.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004021/0.2006, allocations: 2.643 MB / 424.3 MB, free: 41.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2006, allocations: 42.8 kB / 424.3 MB, free: 41.29 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002132/0.2008, allocations: 70.33 kB / 424.4 MB, free: 41.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 2.995e-06/0.2008, allocations: 0 / 424.4 MB, free: 41.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008213/0.2016, allocations: 437.8 kB / 424.8 MB, free: 41.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2017, allocations: 109.2 kB / 424.9 MB, free: 40.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.2025, allocations: 0.9836 MB / 425.9 MB, free: 40.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2025, allocations: 28.95 kB / 425.9 MB, free: 40.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.2029, allocations: 0.8708 MB / 426.8 MB, free: 40.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.203, allocations: 142.7 kB / 426.9 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.2033, allocations: 284 kB / 427.2 MB, free: 40.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2034, allocations: 0.6069 MB / 427.8 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.2036, allocations: 116.9 kB / 427.9 MB, free: 39.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.2042, allocations: 1.175 MB / 429.1 MB, free: 38.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2052, allocations: 1.436 MB / 430.6 MB, free: 36.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.2052, allocations: 7.531 kB / 430.6 MB, free: 36.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001459/0.2067, allocations: 1.085 MB / 431.7 MB, free: 36.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.2067, allocations: 15.78 kB / 431.7 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.2067, allocations: 28.55 kB / 431.7 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/0.2071, allocations: 147.5 kB / 431.8 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/0.2079, allocations: 367.9 kB / 432.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.2095, allocations: 5.347 MB / 437.5 MB, free: 31.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.2103, allocations: 75.83 kB / 437.6 MB, free: 31.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.2104, allocations: 82.91 kB / 437.7 MB, free: 31.3 MB / 330.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.0002896/0.2106, allocations: 256.5 kB / 438 MB, free: 31.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.2108, allocations: 109 kB / 438.1 MB, free: 31.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.2119, allocations: 0.8265 MB / 438.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2119, allocations: 4.25 kB / 438.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2119, allocations: 1.875 kB / 438.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2119, allocations: 4.453 kB / 438.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.2133, allocations: 1.076 MB / 440 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2133, allocations: 2.875 kB / 440 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.2135, allocations: 55.56 kB / 440 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/0.214, allocations: 177.6 kB / 440.2 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.2141, allocations: 16.5 kB / 440.2 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.2154, allocations: 5.117 MB / 445.3 MB, free: 25.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2155, allocations: 4.734 kB / 445.3 MB, free: 25.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.2161, allocations: 0.8595 MB / 446.2 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2163, allocations: 81.48 kB / 446.3 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.2163, allocations: 10.41 kB / 446.3 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.2166, allocations: 7.812 kB / 446.3 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.2167, allocations: 36.7 kB / 446.3 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.2167, allocations: 17.53 kB / 446.3 MB, free: 24.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004916/0.2172, allocations: 0.5744 MB / 446.9 MB, free: 24.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2172, allocations: 0 / 446.9 MB, free: 24.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001572/0.2188, allocations: 0.527 MB / 447.4 MB, free: 23.86 MB / 330.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.000832/0.2196, allocations: 0.5774 MB / 448 MB, free: 23.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.2205, allocations: 0.5645 MB / 448.6 MB, free: 23.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2205, allocations: 0 / 448.6 MB, free: 23.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.2208, allocations: 462.5 kB / 449 MB, free: 22.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.2215, allocations: 171.8 kB / 449.2 MB, free: 22.49 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.002302/0.2239, allocations: 1.721 MB / 450.9 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.224, allocations: 187.2 kB / 451.1 MB, free: 20.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005609/0.2245, allocations: 247.7 kB / 451.4 MB, free: 20.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.2249, allocations: 298 kB / 451.6 MB, free: 20.11 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2249, allocations: 2.078 kB / 451.6 MB, free: 20.11 MB / 330.7 MB Notification: Performance of Templates: time 0.02242/0.2473, allocations: 18.19 MB / 469.8 MB, free: 3.215 MB / 330.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.3451169980689883]