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.001508/0.001508, allocations: 88.72 kB / 19.44 MB, free: 356 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.00159/0.00159, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.138/0.138, allocations: 17.36 MB / 276.9 MB, free: 11.66 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.653e-06/1.653e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.342e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 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.04328/0.04331, allocations: 27.65 MB / 380.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02469/0.068, allocations: 16.02 MB / 396.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.06917, allocations: 23.81 kB / 396.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.07055, allocations: 440.5 kB / 396.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.07336, allocations: 0.8335 MB / 397.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009487/0.08285, allocations: 2.938 MB / 400.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003109/0.08596, allocations: 1.691 MB / 402.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.08724, allocations: 0.7667 MB / 403.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.08867, allocations: 1.025 MB / 404.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.08978, allocations: 0.6429 MB / 404.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.09001, allocations: 140 kB / 404.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005503/0.09552, allocations: 1.684 MB / 406.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005175/0.09603, allocations: 366.8 kB / 406.9 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009191/0.09695, allocations: 0.5262 MB / 407.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1832/0.2802, allocations: 3.762 MB / 411.2 MB, free: 41.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2802, allocations: 0.5625 kB / 411.2 MB, free: 41.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2802, allocations: 0 / 411.2 MB, free: 41.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.164e-05/0.2803, allocations: 0 / 411.2 MB, free: 41.75 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.004733/0.285, allocations: 1.871 MB / 413.1 MB, free: 40.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2851, allocations: 10.83 kB / 413.1 MB, free: 40.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.2873, allocations: 0.6618 MB / 413.7 MB, free: 40.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2893, allocations: 0.9448 MB / 414.7 MB, free: 40.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.2894, allocations: 199.7 kB / 414.9 MB, free: 40.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.2897, allocations: 114.6 kB / 415 MB, free: 40.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.2929, allocations: 1.673 MB / 416.7 MB, free: 40.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.293, allocations: 4.875 kB / 416.7 MB, free: 40.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.2931, allocations: 53.81 kB / 416.7 MB, free: 40.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.2932, allocations: 30.25 kB / 416.8 MB, free: 40.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.2964, allocations: 2.101 MB / 418.9 MB, free: 40.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007235/0.3036, allocations: 4.728 MB / 423.6 MB, free: 38.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.3049, allocations: 0.6882 MB / 424.3 MB, free: 38.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.3053, allocations: 330.4 kB / 424.6 MB, free: 38.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.3111, allocations: 2.73 MB / 427.3 MB, free: 37.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3111, allocations: 41.53 kB / 427.4 MB, free: 37.08 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003239/0.3115, allocations: 70.06 kB / 427.4 MB, free: 37.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.3115, allocations: 0 / 427.4 MB, free: 37.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001207/0.3127, allocations: 0.6077 MB / 428 MB, free: 36.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3127, allocations: 108.6 kB / 428.1 MB, free: 36.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009622/0.3137, allocations: 1.168 MB / 429.3 MB, free: 36.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3137, allocations: 31.62 kB / 429.3 MB, free: 36.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.314, allocations: 0.7999 MB / 430.1 MB, free: 35.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.3141, allocations: 148.3 kB / 430.3 MB, free: 35.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.3143, allocations: 263.2 kB / 430.5 MB, free: 35.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.3144, allocations: 407.1 kB / 430.9 MB, free: 34.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.3148, allocations: 332.2 kB / 431.3 MB, free: 34.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.3154, allocations: 1.053 MB / 432.3 MB, free: 33.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3165, allocations: 1.403 MB / 433.7 MB, free: 32.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3165, allocations: 10 kB / 433.7 MB, free: 32.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001833/0.3184, allocations: 1.519 MB / 435.3 MB, free: 32.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3184, allocations: 14.06 kB / 435.3 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.3184, allocations: 27.12 kB / 435.3 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005458/0.319, allocations: 154.5 kB / 435.4 MB, free: 32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/0.3199, allocations: 375.4 kB / 435.8 MB, free: 31.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.322, allocations: 3.816 MB / 439.6 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.3229, allocations: 74.86 kB / 439.7 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.323, allocations: 92.55 kB / 439.8 MB, free: 28.24 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.0004061/0.3234, allocations: 312.2 kB / 440.1 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.3236, allocations: 117.7 kB / 440.2 MB, free: 27.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.3252, allocations: 0.8461 MB / 441.1 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3252, allocations: 6.094 kB / 441.1 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.3252, allocations: 0 / 441.1 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3252, allocations: 6.844 kB / 441.1 MB, free: 27.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3269, allocations: 1.061 MB / 442.1 MB, free: 26.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3269, allocations: 0 / 442.1 MB, free: 26.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3271, allocations: 61.69 kB / 442.2 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006251/0.3277, allocations: 185.1 kB / 442.4 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3277, allocations: 18.64 kB / 442.4 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.3294, allocations: 3.696 MB / 446.1 MB, free: 22.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3294, allocations: 4 kB / 446.1 MB, free: 22.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.3303, allocations: 0.8479 MB / 446.9 MB, free: 21.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3304, allocations: 83.33 kB / 447 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3305, allocations: 11.98 kB / 447 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.3309, allocations: 8 kB / 447 MB, free: 21.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.331, allocations: 43.27 kB / 447.1 MB, free: 21.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.331, allocations: 16 kB / 447.1 MB, free: 21.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006751/0.3317, allocations: 0.8256 MB / 447.9 MB, free: 20.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3317, allocations: 0 / 447.9 MB, free: 20.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001616/0.3333, allocations: 0.6344 MB / 448.6 MB, free: 19.94 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.001015/0.3343, allocations: 0.7703 MB / 449.3 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3356, allocations: 0.7677 MB / 450.1 MB, free: 18.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3356, allocations: 0 / 450.1 MB, free: 18.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.3359, allocations: 384 kB / 450.5 MB, free: 18.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.3369, allocations: 175.4 kB / 450.6 MB, free: 18.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.3391, allocations: 1.778 MB / 452.4 MB, free: 16.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3394, allocations: 480.4 kB / 452.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006771/0.3401, allocations: 265.2 kB / 453.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3403, allocations: 133.9 kB / 453.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3403, allocations: 0 / 453.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of Templates: time 0.02419/0.3645, allocations: 18.47 MB / 471.7 MB, free: 14.09 MB / 346.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.474439462996088]