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.001018/0.001018, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002373, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00112/0.00112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002585, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9404/0.9404, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07299/1.013, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08338/0.08338, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0103/0.09367, allocations: 6.959 MB / 268.4 MB, free: 6.402 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.302e-06/1.302e-06, allocations: 0 / 269.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.466e-05, allocations: 6.25 kB / 269.7 MB, free: 5.117 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1214/0.1214, allocations: 9.724 MB / 279.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.1365, allocations: 16.62 MB / 296 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.1377, allocations: 33.78 kB / 296 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.1386, allocations: 466.9 kB / 296.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.1419, allocations: 1.645 MB / 298.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.1465, allocations: 2.335 MB / 300.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.1488, allocations: 2.778 MB / 303.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.1502, allocations: 1.498 MB / 304.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1518, allocations: 1.993 MB / 306.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.153, allocations: 1.216 MB / 308 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003755/0.1534, allocations: 264 kB / 308.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.1566, allocations: 1.766 MB / 310 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.1569, allocations: 450.6 kB / 310.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.1576, allocations: 0.737 MB / 311.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.1618, allocations: 3.564 MB / 314.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.1618, allocations: 0 / 314.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1618, allocations: 0 / 314.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.481e-05/0.1618, allocations: 0 / 314.7 MB, free: 5.328 MB / 298.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.00328/0.1651, allocations: 3.437 MB / 318.2 MB, free: 1.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1651, allocations: 16.03 kB / 318.2 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.1664, allocations: 0.8626 MB / 319 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1674, allocations: 0.8163 MB / 319.9 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.1676, allocations: 271.7 kB / 320.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.1678, allocations: 220.3 kB / 320.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.1694, allocations: 1.904 MB / 322.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.1695, allocations: 0 / 322.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.1696, allocations: 92 kB / 322.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.1696, allocations: 52 kB / 322.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.1711, allocations: 1.451 MB / 323.8 MB, free: 11.97 MB / 314.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.006561/0.1777, allocations: 6.156 MB / 330 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009094/0.1786, allocations: 1.004 MB / 331 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.179, allocations: 390.3 kB / 331.4 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003921/0.1829, allocations: 3.283 MB / 334.7 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1829, allocations: 47.56 kB / 334.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004074/0.1833, allocations: 226.7 kB / 334.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=113): time 2.244e-06/0.1833, allocations: 0 / 334.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of matching and sorting (n=161): time 0.01505/0.1984, allocations: 7.103 MB / 342 MB, free: 9.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1984, allocations: 120.1 kB / 342.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.1991, allocations: 1.051 MB / 343.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.1991, allocations: 57.7 kB / 343.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.1996, allocations: 0.9847 MB / 344.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.1999, allocations: 0.5927 MB / 344.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.2003, allocations: 456.4 kB / 345.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.2003, allocations: 305.1 kB / 345.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.2007, allocations: 322.9 kB / 345.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.2013, allocations: 1.173 MB / 347.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.2026, allocations: 1.803 MB / 348.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.2026, allocations: 12 kB / 348.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003114/0.2057, allocations: 1.936 MB / 350.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2057, allocations: 16 kB / 350.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.2058, allocations: 32 kB / 350.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.2084, allocations: 1.026 MB / 351.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.2096, allocations: 0.6132 MB / 352.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.2147, allocations: 5.703 MB / 358.2 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2158, allocations: 95.89 kB / 358.3 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.216, allocations: 123.9 kB / 358.4 MB, free: 7.883 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.0004738/0.2165, allocations: 271.7 kB / 358.7 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.2167, allocations: 143.8 kB / 358.8 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.2195, allocations: 1.674 MB / 360.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.2195, allocations: 16 kB / 360.5 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2195, allocations: 4 kB / 360.5 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2196, allocations: 7.969 kB / 360.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.2236, allocations: 2.512 MB / 363 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2236, allocations: 7.984 kB / 363 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.2243, allocations: 331.9 kB / 363.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2244, allocations: 131 kB / 363.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/0.2268, allocations: 0.9104 MB / 364.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/0.2269, allocations: 59.95 kB / 364.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.2305, allocations: 5.105 MB / 369.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2305, allocations: 7.875 kB / 369.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/0.2334, allocations: 2.022 MB / 371.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.2336, allocations: 36 kB / 371.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.234, allocations: 35.98 kB / 371.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.2342, allocations: 149 kB / 371.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/0.2343, allocations: 59.95 kB / 371.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006213/0.2349, allocations: 493.2 kB / 372.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2349, allocations: 4 kB / 372.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001995/0.2369, allocations: 0.9085 MB / 373.3 MB, free: 8.566 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.001007/0.2379, allocations: 0.8175 MB / 374.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.2401, allocations: 1.733 MB / 375.8 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.646e-05/0.2402, allocations: 38.47 kB / 375.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.2411, allocations: 0.973 MB / 376.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/0.2421, allocations: 475.3 kB / 377.3 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.2558, allocations: 3.358 MB / 380.7 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.2561, allocations: 351.1 kB / 381 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009187/0.257, allocations: 350 kB / 381.3 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.2577, allocations: 453 kB / 381.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2577, allocations: 0 / 381.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Templates: time 0.04445/0.3021, allocations: 40.74 MB / 422.5 MB, free: 7.496 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: 3.632257550023496]