Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001413/0.001413, allocations: 82.25 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001578/0.001578, allocations: 168.1 kB / 22.46 MB, free: 5.379 MB / 14.72 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1371/0.1371, allocations: 17.45 MB / 276.6 MB, free: 15.2 MB / 270.1 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 412.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.505e-05, allocations: 2.281 kB / 412.1 MB, free: 4.27 MB / 334.1 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.StandardElectrochemicalCell): time 0.03665/0.03667, allocations: 28 MB / 440.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2295/0.2661, allocations: 19 MB / 459.1 MB, free: 30.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.2673, allocations: 28.34 kB / 459.1 MB, free: 30.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.2687, allocations: 0.4924 MB / 459.6 MB, free: 30.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.2718, allocations: 0.9944 MB / 460.6 MB, free: 29.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.2825, allocations: 3.447 MB / 464.1 MB, free: 27.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.2862, allocations: 1.877 MB / 465.9 MB, free: 26.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.2876, allocations: 0.7535 MB / 466.7 MB, free: 26.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.2894, allocations: 1.13 MB / 467.8 MB, free: 26.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.2907, allocations: 0.7077 MB / 468.5 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.2911, allocations: 148.2 kB / 468.7 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007815/0.2989, allocations: 1.976 MB / 470.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006271/0.2995, allocations: 391.4 kB / 471 MB, free: 25.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.3008, allocations: 0.5661 MB / 471.6 MB, free: 24.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.3115, allocations: 4.271 MB / 475.9 MB, free: 22.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3116, allocations: 0 / 475.9 MB, free: 22.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3116, allocations: 0 / 475.9 MB, free: 22.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.102e-05/0.3116, allocations: 0 / 475.9 MB, free: 22.63 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.003871/0.3155, allocations: 2.059 MB / 477.9 MB, free: 21.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3156, allocations: 9.75 kB / 477.9 MB, free: 21.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.3173, allocations: 445.5 kB / 478.4 MB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.3189, allocations: 0.9921 MB / 479.4 MB, free: 20.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.319, allocations: 204.7 kB / 479.6 MB, free: 20.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.3192, allocations: 125.9 kB / 479.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.3215, allocations: 1.765 MB / 481.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.3216, allocations: 1.406 kB / 481.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.3217, allocations: 52.22 kB / 481.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.3217, allocations: 31.88 kB / 481.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.3245, allocations: 2.313 MB / 483.9 MB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006244/0.3308, allocations: 4.804 MB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3319, allocations: 0.701 MB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.3324, allocations: 332.4 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005795/0.3382, allocations: 2.854 MB / 492.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3382, allocations: 46.48 kB / 492.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.3382, allocations: 5.25 kB / 492.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.001323/0.3395, allocations: 0.6272 MB / 493.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3395, allocations: 114.8 kB / 493.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.3406, allocations: 1.244 MB / 494.6 MB, free: 5.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.3406, allocations: 33.7 kB / 494.6 MB, free: 5.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.341, allocations: 0.8645 MB / 495.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.3411, allocations: 146.9 kB / 495.6 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.3414, allocations: 295.3 kB / 495.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.3414, allocations: 357.9 kB / 496.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.3419, allocations: 339.8 kB / 496.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.3426, allocations: 1.154 MB / 497.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.3439, allocations: 1.537 MB / 499.3 MB, free: 444 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.3439, allocations: 8 kB / 499.3 MB, free: 436 kB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002739/0.3466, allocations: 1.559 MB / 0.4891 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3467, allocations: 18.66 kB / 0.4891 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/0.3467, allocations: 32 kB / 0.4891 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000669/0.3474, allocations: 153.6 kB / 0.4893 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.3486, allocations: 394 kB / 0.4897 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.3522, allocations: 3.831 MB / 0.4934 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3534, allocations: 180.1 kB / 0.4936 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.3535, allocations: 106.6 kB / 0.4937 GB, free: 9.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0005835/0.3541, allocations: 321.1 kB / 0.494 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.3543, allocations: 111.2 kB / 0.4941 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.3563, allocations: 0.9413 MB / 0.495 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3563, allocations: 4 kB / 0.495 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3563, allocations: 3.938 kB / 0.495 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3564, allocations: 0 / 0.495 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.3587, allocations: 1.165 MB / 0.4962 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3587, allocations: 6.531 kB / 0.4962 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.359, allocations: 63.91 kB / 0.4962 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008328/0.3599, allocations: 173.7 kB / 0.4964 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.3599, allocations: 15.62 kB / 0.4964 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/0.3633, allocations: 3.693 MB / 0.5 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.3633, allocations: 7.125 kB / 0.5 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3649, allocations: 0.8982 MB / 0.5009 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.3653, allocations: 91.22 kB / 0.501 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.3656, allocations: 22.62 kB / 0.501 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.3661, allocations: 8 kB / 0.501 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.3662, allocations: 43.83 kB / 0.5011 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.3663, allocations: 19.98 kB / 0.5011 GB, free: 1.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.3679, allocations: 0.873 MB / 0.5019 GB, free: 1.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3679, allocations: 4 kB / 0.5019 GB, free: 1.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003036/0.3709, allocations: 0.72 MB / 0.5026 GB, free: 384 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.002626/0.3735, allocations: 0.8833 MB / 0.5035 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.3757, allocations: 0.8174 MB / 0.5043 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3757, allocations: 0 / 0.5043 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.3763, allocations: 395.7 kB / 0.5047 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.3777, allocations: 172.7 kB / 0.5048 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.3816, allocations: 1.89 MB / 0.5067 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.3824, allocations: 0.5071 MB / 0.5072 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009716/0.3833, allocations: 303.8 kB / 0.5075 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.3837, allocations: 150.8 kB / 0.5076 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3837, allocations: 0 / 0.5076 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Templates: time 0.03853/0.4222, allocations: 20.64 MB / 0.5278 GB, free: 7.496 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4826309606432915] Failed to read output from testmodel.py, exit status != 0: 0.4324602782726288 0.44787811899999996 0.132942202 Calling exit ...