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.001399/0.001399, allocations: 105.1 kB / 18.99 MB, free: 2.609 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.001541/0.001541, allocations: 215.1 kB / 22.3 MB, free: 5.289 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.561/1.561, allocations: 230.6 MB / 256.1 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.173/0.173, allocations: 23.9 MB / 336.4 MB, free: 10.99 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 471.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.334, allocations: 59.85 MB / 0.5191 GB, free: 9.688 MB / 382.1 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.07471/0.4087, allocations: 29.83 MB / 0.5483 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03109/0.4398, allocations: 21.98 MB / 0.5697 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.4418, allocations: 31.75 kB / 0.5698 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.4443, allocations: 0.5503 MB / 0.5703 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0072/0.4515, allocations: 1.847 MB / 0.5721 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.4635, allocations: 3.484 MB / 0.5755 GB, free: 64 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004897/0.4683, allocations: 2.699 MB / 0.5781 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.4716, allocations: 1.399 MB / 0.5795 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.4741, allocations: 1.278 MB / 0.5808 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.4769, allocations: 1.284 MB / 0.582 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009605/0.4779, allocations: 263.9 kB / 0.5823 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007621/0.4855, allocations: 2.57 MB / 0.5848 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.4865, allocations: 0.6037 MB / 0.5854 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.4884, allocations: 1.07 MB / 0.5864 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.5005, allocations: 5.7 MB / 0.592 GB, free: 15.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5005, allocations: 0 / 0.592 GB, free: 15.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5005, allocations: 0 / 0.592 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.5006, allocations: 0 / 0.592 GB, free: 15.1 MB / 446.1 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.006929/0.5076, allocations: 2.96 MB / 0.5949 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5076, allocations: 8.031 kB / 0.5949 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.5099, allocations: 0.5103 MB / 0.5954 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.5124, allocations: 1.227 MB / 0.5966 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.5127, allocations: 275.4 kB / 0.5968 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004088/0.5131, allocations: 219.9 kB / 0.597 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004961/0.5181, allocations: 2.733 MB / 0.5997 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.5181, allocations: 7.938 kB / 0.5997 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.5183, allocations: 84 kB / 0.5998 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.5184, allocations: 56 kB / 0.5998 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005543/0.5239, allocations: 3.16 MB / 0.6029 GB, free: 3.633 MB / 446.1 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.01487/0.5388, allocations: 7.741 MB / 0.6105 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.5415, allocations: 1.463 MB / 0.6119 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.5429, allocations: 0.8263 MB / 0.6127 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.5531, allocations: 4.344 MB / 0.617 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.5531, allocations: 47.5 kB / 0.617 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001065/0.5542, allocations: 230.8 kB / 0.6172 GB, free: 4.746 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 4.769e-06/0.5542, allocations: 3.938 kB / 0.6172 GB, free: 4.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03817/0.5924, allocations: 9.311 MB / 0.6263 GB, free: 11.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.5925, allocations: 120.1 kB / 0.6264 GB, free: 11.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.5942, allocations: 1.312 MB / 0.6277 GB, free: 9.906 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5944, allocations: 49.7 kB / 0.6278 GB, free: 9.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008768/0.5953, allocations: 1.096 MB / 0.6288 GB, free: 8.742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000632/0.5959, allocations: 0.5811 MB / 0.6294 GB, free: 8.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007456/0.5966, allocations: 472.6 kB / 0.6299 GB, free: 7.688 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5968, allocations: 313.1 kB / 0.6302 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.5984, allocations: 0.8598 MB / 0.631 GB, free: 6.516 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.6009, allocations: 1.709 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.605, allocations: 2.705 MB / 0.6353 GB, free: 1.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.6051, allocations: 11.94 kB / 0.6353 GB, free: 1.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009482/0.6145, allocations: 3.473 MB / 0.6387 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.6146, allocations: 16 kB / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-05/0.6146, allocations: 28 kB / 0.6388 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005839/0.6205, allocations: 1.159 MB / 0.6399 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.6225, allocations: 0.5109 MB / 0.6404 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6338, allocations: 7.203 MB / 0.6474 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.6357, allocations: 111.9 kB / 0.6475 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/0.6361, allocations: 140 kB / 0.6477 GB, free: 4.277 MB / 494.1 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.001071/0.6372, allocations: 445 kB / 0.6481 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.6378, allocations: 158.9 kB / 0.6482 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008723/0.6465, allocations: 2.819 MB / 0.651 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.6465, allocations: 23.94 kB / 0.651 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.6465, allocations: 4 kB / 0.651 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/0.6466, allocations: 11.97 kB / 0.651 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.6587, allocations: 4.356 MB / 0.6553 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.6587, allocations: 8 kB / 0.6553 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6599, allocations: 259.6 kB / 0.6555 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.665, allocations: 1.033 MB / 0.6565 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.6652, allocations: 67.95 kB / 0.6566 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009548/0.6748, allocations: 6.489 MB / 0.6629 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6748, allocations: 0 / 0.6629 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009795/0.6846, allocations: 3.654 MB / 0.6665 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.6851, allocations: 139 kB / 0.6666 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/0.6855, allocations: 35.88 kB / 0.6667 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.6867, allocations: 43.98 kB / 0.6667 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/0.6871, allocations: 157 kB / 0.6669 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.6873, allocations: 67.97 kB / 0.6669 GB, free: 36 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00125/0.6886, allocations: 0.8267 MB / 0.6677 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6886, allocations: 0 / 0.6677 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004173/0.6927, allocations: 1.114 MB / 0.6688 GB, free: 14.09 MB / 0.5137 GB 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.002718/0.6954, allocations: 1.168 MB / 0.67 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005784/0.7012, allocations: 2.575 MB / 0.6725 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.7012, allocations: 0 / 0.6725 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.704, allocations: 1.312 MB / 0.6738 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.7057, allocations: 268.6 kB / 0.674 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/0.713, allocations: 3.693 MB / 0.6776 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.7141, allocations: 0.8228 MB / 0.6784 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001405/0.7155, allocations: 379.9 kB / 0.6788 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.7161, allocations: 232.3 kB / 0.679 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.7161, allocations: 0 / 0.679 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.06704/0.7831, allocations: 40.81 MB / 0.7189 GB, free: 10.91 MB / 0.5606 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 sys.exit(0), Time elapsed: 7.485157949849963] Failed to read output from testmodel.py, exit status != 0: 0.7927374690771103 0.981824402 0.47784337400000004 Calling exit ...