Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.0008352/0.0008352, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007654/0.0007654, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8402/0.8402, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.0839/0.0839, allocations: 17.37 MB / 277.3 MB, free: 11.84 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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.795e-05, allocations: 2.281 kB / 412.7 MB, free: 15.93 MB / 394.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.ClimateChange.ElectrochemicalAcetateProduction): time 0.02833/0.02835, allocations: 30.09 MB / 442.8 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1896/0.218, allocations: 21.96 MB / 464.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2194, allocations: 34.28 kB / 464.8 MB, free: 50.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2205, allocations: 0.5625 MB / 465.4 MB, free: 50.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.2238, allocations: 1.913 MB / 467.3 MB, free: 49.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.2299, allocations: 3.578 MB / 470.9 MB, free: 47.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.2321, allocations: 2.801 MB / 473.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/0.2331, allocations: 1.411 MB / 475.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.2341, allocations: 1.811 MB / 476.9 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008481/0.235, allocations: 1.136 MB / 478 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.2352, allocations: 261.8 kB / 478.3 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.2397, allocations: 2.58 MB / 480.9 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.24, allocations: 0.6155 MB / 481.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.2407, allocations: 0.927 MB / 482.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007291/0.2479, allocations: 6.001 MB / 488.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.248, allocations: 1.156 kB / 488.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.248, allocations: 3.469 kB / 488.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.248, allocations: 0 / 488.4 MB, free: 40.24 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.003228/0.2512, allocations: 2.936 MB / 491.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2512, allocations: 9.438 kB / 491.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.2524, allocations: 0.5178 MB / 491.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.2537, allocations: 1.22 MB / 493.1 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2538, allocations: 272 kB / 493.3 MB, free: 37.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.2541, allocations: 212.9 kB / 493.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.257, allocations: 2.739 MB / 496.3 MB, free: 36.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.257, allocations: 1.125 kB / 496.3 MB, free: 36.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.2572, allocations: 93.19 kB / 496.4 MB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.2572, allocations: 53.25 kB / 496.4 MB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.2608, allocations: 3.158 MB / 499.6 MB, free: 35.21 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008697/0.2695, allocations: 7.758 MB / 0.4955 GB, free: 30.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.2711, allocations: 1.454 MB / 0.4969 GB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008025/0.2719, allocations: 0.8292 MB / 0.4977 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00561/0.2776, allocations: 4.343 MB / 0.5019 GB, free: 27.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2776, allocations: 47.41 kB / 0.502 GB, free: 27.59 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006102/0.2782, allocations: 222.3 kB / 0.5022 GB, free: 27.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 3.837e-06/0.2782, allocations: 0 / 0.5022 GB, free: 27.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=161): time 0.01783/0.296, allocations: 9.313 MB / 0.5113 GB, free: 19.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2961, allocations: 120.1 kB / 0.5114 GB, free: 19.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.297, allocations: 1.312 MB / 0.5127 GB, free: 18.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.2971, allocations: 52.33 kB / 0.5127 GB, free: 18.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.2974, allocations: 1.087 MB / 0.5138 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2976, allocations: 0.5772 MB / 0.5144 GB, free: 16.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.298, allocations: 472.6 kB / 0.5148 GB, free: 16.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.746e-05/0.298, allocations: 301.1 kB / 0.5151 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/0.2988, allocations: 0.8481 MB / 0.5159 GB, free: 15.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.2998, allocations: 1.724 MB / 0.5176 GB, free: 13.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.3017, allocations: 2.692 MB / 0.5202 GB, free: 9.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.3018, allocations: 14.66 kB / 0.5203 GB, free: 9.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004478/0.3062, allocations: 3.479 MB / 0.5236 GB, free: 6.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.3063, allocations: 16 kB / 0.5237 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.3063, allocations: 28 kB / 0.5237 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/0.3088, allocations: 1.157 MB / 0.5248 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.3097, allocations: 0.5109 MB / 0.5253 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005438/0.3152, allocations: 7.206 MB / 0.5324 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3164, allocations: 102.5 kB / 0.5325 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.3166, allocations: 146.6 kB / 0.5326 GB, free: 13.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007716/0.3174, allocations: 446.3 kB / 0.533 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.3176, allocations: 159 kB / 0.5332 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.322, allocations: 2.825 MB / 0.5359 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.322, allocations: 16 kB / 0.5359 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.322, allocations: 6.656 kB / 0.536 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.322, allocations: 11.95 kB / 0.536 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.3286, allocations: 4.353 MB / 0.5402 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3286, allocations: 4 kB / 0.5402 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/0.3292, allocations: 251.7 kB / 0.5405 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.3316, allocations: 1.041 MB / 0.5415 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.3317, allocations: 63.06 kB / 0.5415 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.3368, allocations: 6.482 MB / 0.5479 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3368, allocations: 7.969 kB / 0.5479 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/0.3418, allocations: 3.645 MB / 0.5514 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.3421, allocations: 138.9 kB / 0.5516 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.3422, allocations: 38.66 kB / 0.5516 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.3427, allocations: 39.98 kB / 0.5516 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.343, allocations: 153 kB / 0.5518 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.343, allocations: 71.95 kB / 0.5519 GB, free: 8.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008569/0.3439, allocations: 0.8189 MB / 0.5527 GB, free: 8.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3439, allocations: 2.625 kB / 0.5527 GB, free: 8.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002657/0.3466, allocations: 1.117 MB / 0.5537 GB, free: 7.039 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.logn) * 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 (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,21), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.3482, allocations: 1.197 MB / 0.5549 GB, free: 5.906 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003374/0.3516, allocations: 2.581 MB / 0.5574 GB, free: 3.301 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3516, allocations: 0 / 0.5574 GB, free: 3.301 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.3531, allocations: 1.306 MB / 0.5587 GB, free: 1.957 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3542, allocations: 286 kB / 0.559 GB, free: 1.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.359, allocations: 3.599 MB / 0.5625 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.3595, allocations: 0.8213 MB / 0.5633 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.36, allocations: 293.8 kB / 0.5636 GB, free: 13 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/0.36, allocations: 2.688 kB / 0.5636 GB, free: 13 MB / 458.7 MB Notification: Performance of Templates: time 0.2168/0.5768, allocations: 73.43 MB / 0.6353 GB, free: 151.3 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.681089896708727] Failed to read output from testmodel.py, exit status != 0: 0.5838481308892369 0.591052833 0.341454034 Calling exit ...