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.001085/0.001085, 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.001234/0.001234, 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09668/0.09668, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.353e-06/1.353e-06, allocations: 0 / 353.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.621e-05, allocations: 6.312 kB / 353.4 MB, free: 9.961 MB / 282.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.02838/0.02841, allocations: 30.49 MB / 383.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.0404, allocations: 13.4 MB / 397.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009164/0.04132, allocations: 23.75 kB / 397.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.04219, allocations: 369 kB / 397.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.04408, allocations: 0.7909 MB / 398.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.04873, allocations: 2.139 MB / 400.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.05079, allocations: 1.695 MB / 402.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.05182, allocations: 0.7745 MB / 403.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.05299, allocations: 1.088 MB / 404.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009625/0.05396, allocations: 0.7093 MB / 404.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.05434, allocations: 136 kB / 405 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.05716, allocations: 1.189 MB / 406.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.05749, allocations: 374.8 kB / 406.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.0581, allocations: 0.5418 MB / 407.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.06286, allocations: 2.607 MB / 409.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.06287, allocations: 0 / 409.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.06287, allocations: 4 kB / 409.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.934e-05/0.06292, allocations: 0 / 409.7 MB, free: 1.648 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.1504/0.2133, allocations: 1.907 MB / 411.7 MB, free: 45.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2134, allocations: 14.03 kB / 411.7 MB, free: 45.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.2147, allocations: 0.6064 MB / 412.3 MB, free: 45.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.2158, allocations: 0.7816 MB / 413.1 MB, free: 45.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.2159, allocations: 197.9 kB / 413.3 MB, free: 45.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2161, allocations: 122.2 kB / 413.4 MB, free: 45.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.2178, allocations: 1.258 MB / 414.6 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2178, allocations: 1.375 kB / 414.6 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.2179, allocations: 57.34 kB / 414.7 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.2179, allocations: 32.81 kB / 414.7 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.2197, allocations: 1.297 MB / 416 MB, free: 44.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005277/0.225, allocations: 4.946 MB / 421 MB, free: 42.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.2259, allocations: 0.548 MB / 421.5 MB, free: 42.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.2262, allocations: 205.6 kB / 421.7 MB, free: 42.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003383/0.2296, allocations: 2.611 MB / 424.3 MB, free: 41.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2296, allocations: 49 kB / 424.4 MB, free: 41.43 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001636/0.2297, allocations: 72.45 kB / 424.4 MB, free: 41.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.186e-06/0.2297, allocations: 0 / 424.4 MB, free: 41.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007453/0.2305, allocations: 448.6 kB / 424.9 MB, free: 41.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2305, allocations: 111.1 kB / 425 MB, free: 41.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.2312, allocations: 1.007 MB / 426 MB, free: 40.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2312, allocations: 34.8 kB / 426 MB, free: 40.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.2315, allocations: 0.8539 MB / 426.9 MB, free: 40.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.2316, allocations: 146.7 kB / 427 MB, free: 40.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.2318, allocations: 278.8 kB / 427.3 MB, free: 39.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2319, allocations: 0.5869 MB / 427.9 MB, free: 39.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2322, allocations: 142.8 kB / 428 MB, free: 39.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.2326, allocations: 1.199 MB / 429.2 MB, free: 37.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/0.2335, allocations: 1.459 MB / 430.7 MB, free: 36.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.2335, allocations: 13.44 kB / 430.7 MB, free: 36.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001217/0.2347, allocations: 1.15 MB / 431.8 MB, free: 36.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.2347, allocations: 17.97 kB / 431.9 MB, free: 36.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.2347, allocations: 26.59 kB / 431.9 MB, free: 36.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.2351, allocations: 147 kB / 432 MB, free: 36.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.2357, allocations: 373.9 kB / 432.4 MB, free: 36.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.2371, allocations: 5.39 MB / 437.8 MB, free: 30.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.2376, allocations: 74.66 kB / 437.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.2377, allocations: 95.83 kB / 438 MB, free: 30.67 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.0002495/0.238, allocations: 254.2 kB / 438.2 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2381, allocations: 115.2 kB / 438.3 MB, free: 30.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000842/0.2389, allocations: 0.8184 MB / 439.1 MB, free: 29.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2389, allocations: 3.188 kB / 439.1 MB, free: 29.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2389, allocations: 2.625 kB / 439.1 MB, free: 29.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.239, allocations: 8.641 kB / 439.1 MB, free: 29.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.2401, allocations: 1.06 MB / 440.2 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2401, allocations: 1.469 kB / 440.2 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.2402, allocations: 63.45 kB / 440.3 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.2406, allocations: 182.8 kB / 440.4 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.2406, allocations: 13.53 kB / 440.5 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.2418, allocations: 5.168 MB / 445.6 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2418, allocations: 4.938 kB / 445.6 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.2424, allocations: 0.8692 MB / 446.5 MB, free: 23.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2425, allocations: 83.14 kB / 446.6 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.2426, allocations: 11.95 kB / 446.6 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2427, allocations: 7.969 kB / 446.6 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.2428, allocations: 43.09 kB / 446.6 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.2428, allocations: 21.69 kB / 446.7 MB, free: 23.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004661/0.2433, allocations: 0.6208 MB / 447.3 MB, free: 23.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2433, allocations: 0 / 447.3 MB, free: 23.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001218/0.2445, allocations: 0.5332 MB / 447.8 MB, free: 22.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.0007694/0.2453, allocations: 0.5453 MB / 448.4 MB, free: 22.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.2462, allocations: 0.601 MB / 449 MB, free: 21.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2462, allocations: 2.688 kB / 449 MB, free: 21.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.2464, allocations: 464 kB / 449.4 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.247, allocations: 167.7 kB / 449.6 MB, free: 21.32 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.002105/0.2491, allocations: 1.73 MB / 451.3 MB, free: 19.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2492, allocations: 189.9 kB / 451.5 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000462/0.2497, allocations: 264 kB / 451.8 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.2499, allocations: 135.1 kB / 451.9 MB, free: 19.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2499, allocations: 0 / 451.9 MB, free: 19.08 MB / 330.7 MB Notification: Performance of Templates: time 0.01933/0.2692, allocations: 17.99 MB / 469.9 MB, free: 2.398 MB / 330.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4549415642395616]