Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001028/0.001028, allocations: 93.16 kB / 19.65 MB, free: 288 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.00133/0.00133, allocations: 172.9 kB / 23.02 MB, free: 1.559 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.9767/0.9767, allocations: 177.1 MB / 203.4 MB, free: 5.668 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.09501/0.09501, allocations: 17.46 MB / 277.4 MB, free: 11.6 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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 7.875 kB / 353.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.832e-05, allocations: 5.406 kB / 353.6 MB, free: 9.867 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.ClimateChange.ElectrochemicalAcetateProduction): time 0.03188/0.0319, allocations: 33.42 MB / 387 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.04762, allocations: 16.57 MB / 403.6 MB, free: 7.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.04906, allocations: 31.75 kB / 403.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.05022, allocations: 452.1 kB / 404 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.05422, allocations: 1.66 MB / 405.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.05945, allocations: 2.354 MB / 408 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.06276, allocations: 2.795 MB / 410.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1598/0.2225, allocations: 1.47 MB / 412.3 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.2259, allocations: 1.881 MB / 414.2 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.2286, allocations: 1.221 MB / 415.4 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.2297, allocations: 260.2 kB / 415.7 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005021/0.2347, allocations: 1.695 MB / 417.4 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.2357, allocations: 0.6308 MB / 418 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002358/0.2381, allocations: 0.9333 MB / 418.9 MB, free: 36.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008264/0.2464, allocations: 3.91 MB / 422.8 MB, free: 36.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2464, allocations: 0 / 422.8 MB, free: 36.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2464, allocations: 0 / 422.8 MB, free: 36.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.2465, allocations: 0 / 422.8 MB, free: 36.55 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: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.004225/0.2507, allocations: 2.908 MB / 425.7 MB, free: 35.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2507, allocations: 10 kB / 425.7 MB, free: 35.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.2523, allocations: 0.831 MB / 426.6 MB, free: 34.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.2537, allocations: 1.073 MB / 427.7 MB, free: 34.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.2538, allocations: 280.3 kB / 427.9 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.254, allocations: 220.6 kB / 428.1 MB, free: 34.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.2565, allocations: 2.089 MB / 430.2 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.2566, allocations: 0 / 430.2 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.2567, allocations: 89.81 kB / 430.3 MB, free: 33.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.2567, allocations: 53.31 kB / 430.4 MB, free: 33.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.2592, allocations: 1.939 MB / 432.3 MB, free: 33.26 MB / 330.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.008271/0.2675, allocations: 7.891 MB / 440.2 MB, free: 27.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.2687, allocations: 1.169 MB / 441.4 MB, free: 26.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.2693, allocations: 0.5339 MB / 441.9 MB, free: 26.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004717/0.274, allocations: 4.026 MB / 445.9 MB, free: 22.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.274, allocations: 46.39 kB / 446 MB, free: 22.27 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005802/0.2746, allocations: 220.9 kB / 446.2 MB, free: 22.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 4.809e-06/0.2746, allocations: 0 / 446.2 MB, free: 22.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01764/0.2923, allocations: 7.945 MB / 454.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.2923, allocations: 120.1 kB / 454.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.2933, allocations: 1.148 MB / 455.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.2935, allocations: 56.36 kB / 455.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.2939, allocations: 1.147 MB / 456.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.2942, allocations: 0.5823 MB / 457.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.2946, allocations: 478.8 kB / 457.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.2947, allocations: 480.7 kB / 458.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.2953, allocations: 452.5 kB / 458.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/0.2963, allocations: 1.681 MB / 460.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.2981, allocations: 2.357 MB / 462.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.2981, allocations: 8 kB / 462.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004152/0.3022, allocations: 2.631 MB / 465.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.3023, allocations: 16 kB / 465.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.3023, allocations: 28 kB / 465.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/0.3052, allocations: 1.047 MB / 466.3 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.3063, allocations: 0.5129 MB / 466.8 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006515/0.3128, allocations: 8.048 MB / 474.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.3142, allocations: 105.2 kB / 475 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.3144, allocations: 147 kB / 475.1 MB, free: 8.191 MB / 346.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.0006514/0.315, allocations: 321.4 kB / 475.5 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.3154, allocations: 207 kB / 475.7 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/0.3193, allocations: 2.138 MB / 477.8 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.3194, allocations: 16 kB / 477.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.3194, allocations: 4 kB / 477.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3194, allocations: 8.078 kB / 477.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/0.3257, allocations: 3.543 MB / 481.4 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3257, allocations: 0 / 481.4 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.3263, allocations: 265.3 kB / 481.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.3293, allocations: 0.9367 MB / 482.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.3295, allocations: 58.66 kB / 482.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/0.3356, allocations: 7.427 MB / 490 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3356, allocations: 4 kB / 490 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.3404, allocations: 2.713 MB / 492.8 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.3409, allocations: 141.6 kB / 492.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.341, allocations: 36 kB / 492.9 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.3415, allocations: 35.98 kB / 493 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.3418, allocations: 161 kB / 493.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.3419, allocations: 75.42 kB / 493.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006389/0.3426, allocations: 0.6313 MB / 493.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3426, allocations: 0 / 493.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002491/0.345, allocations: 0.9033 MB / 494.7 MB, free: 4.352 MB / 362.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.001513/0.3466, allocations: 0.8039 MB / 495.5 MB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.3499, allocations: 2.19 MB / 497.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3499, allocations: 2.656 kB / 497.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.3514, allocations: 1.264 MB / 499 MB, free: 248 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.3527, allocations: 317.7 kB / 499.3 MB, free: 15.96 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.3582, allocations: 3.352 MB / 0.4909 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3586, allocations: 348.7 kB / 0.4912 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009948/0.3596, allocations: 375.7 kB / 0.4916 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.36, allocations: 227 kB / 0.4918 GB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.184e-06/0.36, allocations: 0 / 0.4918 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Templates: time 0.04468/0.4046, allocations: 39.69 MB / 0.5305 GB, free: 5.137 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.189206718001515]