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.0008849/0.0008849, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009168/0.0009168, allocations: 181 kB / 23.36 MB, free: 1.125 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.8989/0.8989, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.09561/0.09561, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.192e-06/1.192e-06, allocations: 0 / 300.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.227e-06/1.042e-05, allocations: 3.078 kB / 300.6 MB, free: 1.855 MB / 266.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.02939/0.0294, allocations: 39.08 MB / 339.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.04444, allocations: 16.5 MB / 356.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.0459, allocations: 35.75 kB / 356.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009268/0.04683, allocations: 456 kB / 356.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.0501, allocations: 1.667 MB / 358.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.0541, allocations: 2.374 MB / 360.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.05629, allocations: 2.796 MB / 363.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.05741, allocations: 1.497 MB / 365 MB, free: 4.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.05869, allocations: 1.884 MB / 366.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.05983, allocations: 1.212 MB / 368.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.06014, allocations: 260 kB / 368.4 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.06376, allocations: 1.696 MB / 370.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004515/0.06421, allocations: 0.6269 MB / 370.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009119/0.06512, allocations: 0.9316 MB / 371.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.07067, allocations: 3.911 MB / 375.5 MB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.07067, allocations: 4 kB / 375.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.07068, allocations: 0 / 375.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.07071, allocations: 0 / 375.5 MB, free: 9.492 MB / 346.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.003632/0.07434, allocations: 2.761 MB / 378.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.07438, allocations: 8.031 kB / 378.3 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.07611, allocations: 0.7913 MB / 379.1 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.07743, allocations: 0.8202 MB / 379.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.07762, allocations: 267.7 kB / 380.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.07791, allocations: 220.3 kB / 380.4 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.0802, allocations: 1.904 MB / 382.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.08025, allocations: 7.938 kB / 382.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.08042, allocations: 84 kB / 382.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.08046, allocations: 60 kB / 382.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.08252, allocations: 1.455 MB / 383.9 MB, free: 0.8906 MB / 346.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.008568/0.09109, allocations: 6.115 MB / 390 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.09248, allocations: 0.9919 MB / 391 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.09306, allocations: 402.3 kB / 391.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006305/0.09936, allocations: 3.385 MB / 394.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.0994, allocations: 47.5 kB / 394.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006481/0.1, allocations: 214.8 kB / 395 MB, free: 5.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 3.897e-06/0.1001, allocations: 0 / 395 MB, free: 5.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=161): time 0.02147/0.1215, allocations: 7.091 MB / 402.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.1216, allocations: 120.1 kB / 402.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.1227, allocations: 1.066 MB / 403.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.1229, allocations: 53.7 kB / 403.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.1235, allocations: 0.9769 MB / 404.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.124, allocations: 0.5926 MB / 404.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/0.1246, allocations: 464.4 kB / 405.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.1247, allocations: 301.1 kB / 405.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.1254, allocations: 312.1 kB / 406 MB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.1265, allocations: 1.177 MB / 407.2 MB, free: 8.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.1287, allocations: 1.803 MB / 409 MB, free: 6.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.1287, allocations: 8 kB / 409 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005189/0.1339, allocations: 1.937 MB / 410.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.1339, allocations: 19.98 kB / 410.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/0.134, allocations: 36 kB / 411 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004488/0.1385, allocations: 1.024 MB / 412 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.1401, allocations: 0.5031 MB / 412.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.1462, allocations: 5.648 MB / 418.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.1474, allocations: 99.89 kB / 418.2 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.1475, allocations: 119.9 kB / 418.4 MB, free: 12.92 MB / 394.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.0004882/0.148, allocations: 271.8 kB / 418.6 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.1482, allocations: 143.8 kB / 418.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.1512, allocations: 1.661 MB / 420.4 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1512, allocations: 19.94 kB / 420.4 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1512, allocations: 4 kB / 420.5 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.1512, allocations: 11.97 kB / 420.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.1555, allocations: 2.508 MB / 423 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1555, allocations: 4 kB / 423 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/0.1562, allocations: 255.9 kB / 423.2 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.1587, allocations: 0.9174 MB / 424.1 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.1589, allocations: 55.97 kB / 424.2 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.1623, allocations: 5.096 MB / 429.3 MB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1623, allocations: 4 kB / 429.3 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.1653, allocations: 2.015 MB / 431.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.1654, allocations: 127 kB / 431.4 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.1656, allocations: 36 kB / 431.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.166, allocations: 35.98 kB / 431.5 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.1662, allocations: 160.9 kB / 431.7 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.1663, allocations: 55.95 kB / 431.7 MB, free: 15.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003801/0.1667, allocations: 497.2 kB / 432.2 MB, free: 14.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1667, allocations: 0 / 432.2 MB, free: 14.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001894/0.1686, allocations: 0.9007 MB / 433.1 MB, free: 13.7 MB / 410.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.0009785/0.1696, allocations: 0.826 MB / 433.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.1715, allocations: 1.73 MB / 435.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.653e-05/0.1716, allocations: 27.84 kB / 435.7 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.1725, allocations: 0.9642 MB / 436.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.1733, allocations: 311.7 kB / 437 MB, free: 9.758 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.1772, allocations: 3.224 MB / 440.2 MB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1774, allocations: 343.1 kB / 440.5 MB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007257/0.1782, allocations: 359.1 kB / 440.9 MB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.1788, allocations: 456.9 kB / 441.3 MB, free: 5.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1788, allocations: 4 kB / 441.3 MB, free: 5.297 MB / 410.7 MB Notification: Performance of Templates: time 0.1506/0.3294, allocations: 40.16 MB / 481.5 MB, free: 92.14 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.886168958619237]